Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add check for version_next markers #2542

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

rickeylev
Copy link
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
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
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
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
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 bazelbuild:main with commit 1cb4f8f Jan 3, 2025
4 checks passed
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