From 15c926011cb0fa823275ba22e86b72ed3e9f628a Mon Sep 17 00:00:00 2001 From: Dianjin Wang Date: Wed, 15 Apr 2026 14:21:46 +0800 Subject: [PATCH 1/2] Docs: update installation command to use specific version tag Update the installation instructions in README.md to use the specific version tag @2.1.0-incubating instead of @latest. The @latest tag resolves to v1.0.2 due to Go modules semantic versioning rules, which only recognizes version tags with 'v' prefix (v1.0.0, v1.0.1, v1.0.2). The 2.1.0-incubating tag, while functional when specified directly, is not recognized as a semantic version by Go modules. Added a note to clarify why users should use the specific version tag to avoid confusion and ensure they install the correct latest version. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e3efa584..0adb1633 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,11 @@ export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin 1. Downloading the latest version: ```bash -go install github.com/apache/cloudberry-backup@latest +go install github.com/apache/cloudberry-backup@2.1.0-incubating ``` +**Note:** Please use the specific version `@2.1.0-incubating` instead of `@latest`. The `@latest` tag will install an older version due to Go modules version resolution rules. + This will place the code in `$GOPATH/pkg/mod/github.com/apache/cloudberry-backup`. 2. Building and installing binaries From 93e6421c9cfb1d50c024168a79df9ef69f726eb8 Mon Sep 17 00:00:00 2001 From: Dianjin Wang Date: Wed, 15 Apr 2026 18:34:12 +0800 Subject: [PATCH 2/2] Update the text --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0adb1633..546bd802 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,17 @@ export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ## Download & Build -1. Downloading the latest version: +1. Downloading: ```bash +# Download the stable release version go install github.com/apache/cloudberry-backup@2.1.0-incubating + +# Or download the latest development version from main branch +go install github.com/apache/cloudberry-backup@main ``` -**Note:** Please use the specific version `@2.1.0-incubating` instead of `@latest`. The `@latest` tag will install an older version due to Go modules version resolution rules. +**Note:** Please use the specific version `@2.1.0-incubating` or `@main` instead of `@latest`. The `@latest` tag will install an older version due to Go modules version resolution rules. This will place the code in `$GOPATH/pkg/mod/github.com/apache/cloudberry-backup`.