This is an automated email from the ASF dual-hosted git repository.

djwang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry-backup.git


The following commit(s) were added to refs/heads/main by this push:
     new 59748f99 Docs: update installation command to use specific version tag 
(#89)
59748f99 is described below

commit 59748f99f6bee01da0e84fabded4503359996417
Author: Dianjin Wang <[email protected]>
AuthorDate: Thu Apr 16 10:25:19 2026 +0800

    Docs: update installation command to use specific version tag (#89)
    
    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 | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index e3efa584..546bd802 100644
--- a/README.md
+++ b/README.md
@@ -42,12 +42,18 @@ export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
 
 ## Download & Build
 
-1. Downloading the latest version:
+1. Downloading:
 
 ```bash
-go install github.com/apache/cloudberry-backup@latest
+# Download the stable release version
+go install github.com/apache/[email protected]
+
+# 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` 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`.
 
 2. Building and installing binaries


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to