Repository navigation
fix(release): use ordered SemVer tags so mise detects the latest version - #75
Open
iloveitaly wants to merge 5 commits into
Open
iloveitaly wants to merge 5 commits into
iloveitaly wants to merge 5 commits into
Conversation
…SION changes Co-authored-by: Michael Bianco <mike@mikebian.co>
Co-authored-by: Michael Bianco <mike@mikebian.co>
… since VERSION changed Co-authored-by: Michael Bianco <mike@mikebian.co>
Co-authored-by: Michael Bianco <mike@mikebian.co>
- Verify the commit SHA exists and abort early if `HEAD` cannot be resolved. - Query the remote tag after creating or fetching a release to verify its commit SHA matches `HEAD`. - Prevent accidental asset uploads to an existing or conflicting release from a different commit. Generated-by: aiautocommit
This was referenced Oct 25, 2026
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.
Motivation
mise does not reliably pick up the latest release when tags differ only by commit build metadata, which does not affect SemVer precedence. Other version managers may have the same issue.
Description
Generate plain SemVer tags by adding the commit count since the last VERSION edit to the base patch number. Keep embedded binary versions aligned with release tags, and reject tags pointing to another commit before uploading assets.
Test
AI generated and ran tests, and I reviewed the code. This will require monitoring the results when a new release is cut.
Unrelated Fixes
Update GitHub Actions dependencies and the CI Go version.