You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by kl...@apache.org on 2025/09/25 02:53:37 UTC
(amoro-site) branch version_bump_when_releasing created (now 50749d5)
This is an automated email from the ASF dual-hosted git repository.
klion26 pushed a change to branch version_bump_when_releasing
in repository https://gitbox.apache.org/repos/asf/amoro-site.git
at 50749d5 [AMORO-SITE-63] Enhance the version bump logic when releasing
This branch includes the following new commits:
new 50749d5 [AMORO-SITE-63] Enhance the version bump logic when releasing
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(amoro-site) 01/01: [AMORO-SITE-63] Enhance the version bump logic when releasing
Posted by kl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
klion26 pushed a commit to branch version_bump_when_releasing
in repository https://gitbox.apache.org/repos/asf/amoro-site.git
commit 50749d526527936b1458198640347cd85d722d29
Author: klion26 <qc...@gmail.com>
AuthorDate: Thu Sep 25 10:53:07 2025 +0800
[AMORO-SITE-63] Enhance the version bump logic when releasing
---
amoro-site/content/community/release-guide.md | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/amoro-site/content/community/release-guide.md b/amoro-site/content/community/release-guide.md
index f9f02e0..4e35d7b 100644
--- a/amoro-site/content/community/release-guide.md
+++ b/amoro-site/content/community/release-guide.md
@@ -233,21 +233,27 @@ $ mvn --encrypt-password <apache password>
### Cut the release branch
-Cut the release branch if it is not created in the Apache remote repository, if it already exists, check it out and pull the latest changes.
+Cut a branch for the `minor` version if it is not created in the Apache remote repository, if it already exists, check it out and pull the latest changes.
```shell
$ cd ${AMORO_SOURCE_HOME}
-# Cut the release branch if it is not created
+# Cut the release branch if it is not created, then push to the remote
$ git checkout -b 0.8.x
+$ git push apache 0.8.x
# Or check it out and pull the latest changes if it is created
$ git checkout 0.8.x
$ git pull apache 0.8.x
```
-Change the project version to the release version in the `tools/change-version.sh`:
+Checkout a release branch using the command
+```
+$ git checkout -b 0.8.0-branch
+```
+
+Update the version in the new branch using the tool `tools/change-version.sh`:
```bash
OLD="0.8-SNAPSHOT"
NEW="0.8.0-incubating"
@@ -270,7 +276,7 @@ $ bash change-version.sh
$ cd ..
$ git add *
$ git commit -m "Change project version to 0.8.0-incubating"
-$ git push apache 0.8.x
+$ git push apache 0.8.0-branch
```
### Create the release tag