Skip to content

calculate the next version #943

Answered by obi1kenobi
Mcdostone asked this question in Q&A
Sep 25, 2024 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

I'm worried that the existence of such a flag might lead other folks (who might not be as thoughtful as you!) into making bad versioning decisions. If it's alright with you, I'd prefer if you just script it based on the existing output for now.

Tangentially, I've been designing a workflow around cargo-semver-checks where we can label PRs as semver:minor or semver:major etc. based on the tool output. Then release workflows could check the PRs being released for major/minor labels and update versions accordingly. And since PR labels can be edited by humans as well as by the cargo-semver-checks workflow, we could rely on PR reviewers to set the semver:major label in cases where there's break…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@obi1kenobi
Comment options

@Mcdostone
Comment options

@obi1kenobi
Comment options

Answer selected by Mcdostone
@Mcdostone
Comment options

@obi1kenobi
Comment options

@obi1kenobi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants