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 <[email protected]> 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
