Repository navigation
ci: refuse to tag a commit that was already released (release/2.37) - #32243
Merged
kylecarbs merged 1 commit intoNov 16, 2026
Merged
Conversation
version.sh fails when the released commit has two release tags, with a misleading "not tagged with an annotated tag" error. Re-releasing a release branch without a new commit tagged the same commit again, failed at "Print version", and left a stray tag only the release App can remove. Fail before creating the tag instead.
Contributor
|
👋 Hey @kylecarbs! This PR is targeting the Only bug fixes should be cherry-picked to release branches. If this is a bug fix, please update the PR title to match the conventional commit format: If this is not a bug fix, it likely should not target a release branch. |
deansheather
approved these changes
Nov 16, 2026
kylecarbs
had a problem deploying
to
docs-preview
November 16, 2026 05:37 — with
GitHub Actions
Failure
This branch had an error being deployed
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.
Backport of #32240 to release/2.37. Also gives release/2.37 a new commit to release.
version.shfails when the released commit has two release tags, with a misleading "not tagged with an annotated tag" error. Re-releasing without a new commit (v2.39.3, v2.38.9, v2.37.13) tagged the same commit as the previous release, failed at "Print version", and left a stray tag that only the release App can remove.This fails before creating the tag instead, saying the commit was already released and to merge a new commit.
🤖 Generated with Claude Code