[AMORO-SITE-63] Enhance the version bump logic when releasing#64
Merged
zhoujinsong merged 1 commit intomasterfrom Oct 9, 2025
Merged
[AMORO-SITE-63] Enhance the version bump logic when releasing#64zhoujinsong merged 1 commit intomasterfrom
zhoujinsong merged 1 commit intomasterfrom
Conversation
Member
Author
zhoujinsong
reviewed
Sep 30, 2025
| Change the project version to the release version in the `tools/change-version.sh`: | ||
| Checkout a `patch` branch using the following command | ||
| ``` | ||
| $ git checkout -b 0.8.0-branch |
Contributor
There was a problem hiding this comment.
Hi, I am not sure why we need a patch branch to change the project version.
Can we change it in the release branch?
Member
Author
There was a problem hiding this comment.
We can't change the version to a release version (without the suffix of SNAPSHOT) in branch like 0.8.x, because the code in 0.8.x branch isn't 0.8.0-incubating(we may bump to 0.8.1-incubating if we have another patch version).
The version in 0.8.x need to be 0.8-SNAPSHOT(after branch 0.8.x has been cut, the version in master need to be upgraded to 0.9-SNAPSHOT), because we'll checkout 0.8.0-incubating, 0.8.1-incubating(and other patch version for 0.8 if needed) from 0.8.x
zhoujinsong
approved these changes
Oct 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fix #63 .
It wants to enahcne the version bump logic in release guide