Stop publishing a moving 0.0 tag for v0.0.x releases - #71
Merged
Merged
Conversation
`{{major}}` is already withheld for `v0.*` because a moving `1` promises
compatibility that semver does not make below 1.0. The same argument applies one
level down: under `v0.0.*` every release is free to break, so a moving `0.0` is
a promise nothing backs.
Guards `{{major}}.{{minor}}` on the tag not starting `v0.0.`, mirroring the
existing `{{major}}` guard. `v0.5.3` still publishes `0.5`, since patches within
`0.5.x` are expected to be compatible.
Prereleases are unaffected — metadata-action already collapses every semver
pattern to the full version for them, so they never produced `0.0` to begin
with.
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.
Summary
merge-go-cli.ymlno longer publishes the{{major}}.{{minor}}tag forv0.0.*tags — a0.0tag would move across releases that are free to break.{{major}}tag underv0.*.v0.5.3still publishes0.5; patches within0.5.xare expected to be compatible.docs/go-cli.md.