Repository navigation
feat: add tag_latest input to suppress the latest tag - #50
Merged
Merged
Conversation
release.sh tags latest when the version is the highest release on Docker Hub at check time. When an older-line patch and a newer minor release are published on the same day, the older one can push after the newer one and move latest back. The caller now passes tag_latest=false for older-line releases; the default 'auto' keeps the current behaviour. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 23, 2026
kthoms
added a commit
to operaton/operaton
that referenced
this pull request
Oct 23, 2026
Pass tag_latest=false to operaton-docker when a newer release/* branch exists, so a patch of an older line released on the same day as a newer minor cannot push latest after it. Requires operaton/operaton-docker#50. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
kthoms
added a commit
to operaton/operaton
that referenced
this pull request
Oct 23, 2026
Pass tag_latest=false to operaton-docker when a newer release/* branch exists, so a patch of an older line released on the same day as a newer minor cannot push latest after it. Requires operaton/operaton-docker#50. (cherry picked from commit 782023b) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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
release.shaddslatestwhen the version is higher than the highest release on Docker Hub at check time (should_tag_latest), then pushes. Check and push are not atomic: when an older-line patch (e.g. 2.1.6) and a newer minor (e.g. 2.2.0) are released on the same day, the older one can check before the newer one is pushed and push after it, movinglatestback.workflow_dispatchinputtag_latest(auto|false, defaultauto), passed torelease.shasTAG_LATESTTAG_LATEST=falseskipslatest(and the Docker Hub tag lookup); other values are rejectedauto(and callers that don't pass the input, incl. thereleaseevent) keep the current behaviourCounterpart in operaton/operaton:
release.ymlpassestag_latest=falsewhen a newerrelease/*branch exists.Test plan
test/test-release-tags.shextended:TAG_LATEST=false→ nolatest, no curl lookup; invalid value rejectedrelease.sh🤖 Generated with Claude Code