Skip to content

Conversation

rickeylev
Copy link
Collaborator

This makes the release tool determine the next version automatically. It does so
by searching for the VERSION_NEXT strings. If VERSION_NEXT_FEATURE is found, then
it increments the minor version. If only patch placeholders are found, then it
increments the patch version.

When the latest version is an RC, an error is raised. This is to protect against
accidentally running it when we're in the middle of the RC phase.

@rickeylev rickeylev requested a review from aignas as a code owner August 27, 2025 08:21
@rickeylev rickeylev enabled auto-merge August 27, 2025 08:21
@rickeylev
Copy link
Collaborator Author

PTAL

Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@rickeylev rickeylev added this pull request to the merge queue Sep 3, 2025
Merged via the queue into bazel-contrib:main with commit 1e17486 Sep 3, 2025
4 checks passed
@rickeylev rickeylev deleted the relprep.nextversion branch September 3, 2025 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants