Skip to content

chore: add check for version_next markers#2542

Merged
rickeylev merged 2 commits intobazel-contrib:mainfrom
rickeylev:release.checks
Jan 3, 2025
Merged

chore: add check for version_next markers#2542
rickeylev merged 2 commits intobazel-contrib:mainfrom
rickeylev:release.checks

Conversation

@rickeylev
Copy link
Copy Markdown
Collaborator

In a couple recent PRs, I put "VERSION_NEXT_{feature,patch}" as place holders since I
wasn't sure what the next appropriate version would be for unreleased code. e.g.
specifying 1.0.1 becomes invalid if a subsequent PR would make it 1.1.0.

To help remind us to populate these values before a release, have the release workflow
check for the marker strings.

@rickeylev rickeylev requested a review from aignas as a code owner January 2, 2025 05:17
@rickeylev rickeylev enabled auto-merge January 2, 2025 05:17
@aignas
Copy link
Copy Markdown
Collaborator

aignas commented Jan 3, 2025

I think I have already used 1.1.0 in a few places, but I agree with using such an approach.

Copy link
Copy Markdown
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.

I think we should also add a note about this convention somwhere in our guidelines.

@rickeylev rickeylev added this pull request to the merge queue Jan 3, 2025
@aignas aignas removed this pull request from the merge queue due to a manual request Jan 3, 2025
@aignas
Copy link
Copy Markdown
Collaborator

aignas commented Jan 3, 2025

Removed the auto-merge in case you would like to add the note in this PR.

@rickeylev
Copy link
Copy Markdown
Collaborator Author

I think we should also add a note about this convention somwhere in our guidelines.

Good idea. I've updated contributing.md with the guidance.

@rickeylev rickeylev enabled auto-merge January 3, 2025 18:37
@rickeylev rickeylev added this pull request to the merge queue Jan 3, 2025
Merged via the queue into bazel-contrib:main with commit 1cb4f8f Jan 3, 2025
@rickeylev rickeylev deleted the release.checks branch January 6, 2025 02:44
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