feat: try alternate v-prefix variant when fetching tags#15
Merged
critesjosh merged 1 commit intomainfrom Mar 30, 2026
Merged
Conversation
Some repos use tags without the "v" prefix (e.g. "4.2.0-aztecnr-rc.2") while others use it (e.g. "v4.0.0-devnet.2-patch.1"). When fetching a tag fails, automatically retry with the alternate v-prefix variant (add "v" if missing, strip "v" if present). Also makes needsReclone v-prefix-insensitive so mismatched prefixes don't trigger unnecessary re-clones. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
🎉 This PR is included in version 1.16.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
2 tasks
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
"v1.0.0"↔"1.0.0") so versions can be specified with or without thevprefixneedsReclonev-prefix-insensitive so a repo checked out atv1.0.0won't trigger a re-clone when the config says1.0.0(and vice versa)needsReclonecomparisonTest plan
npm test)4.2.0-aztecnr-rc.2(no v) against a repo that tags withvprefixv4.0.0-devnet.2-patch.1against a repo that tags withoutvprefix🤖 Generated with Claude Code