Repository navigation
fix(release): validate versions assets and status matching - #1161
Merged
Merged
Conversation
andiwand
force-pushed
the
review/142-development-scripts
branch
from
October 6, 2026 18:46
0047ac2 to
80c5a8f
Compare
andiwand
force-pushed
the
review/143-release-validation
branch
from
October 6, 2026 18:49
e3bf9b1 to
4fd5f32
Compare
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.
🤖 Generated with Claude Code
Release overrides could reuse existing tags and fail only after building and stamping metadata. Status checks used an annotated tag object's SHA, read only one page of runs and could mix releases on the same commit. Asset download errors were ignored before updating the Swift package manifest.
Reject existing tags and invalid SemVer leading zeros in the initial version check. Resolve tags through the commit API, paginate release-triggered runs and match the exact release tag. Require the Apple archive before stamping. GitHub reruns remain supported; manual dispatches are deliberately excluded because their version inputs are not available in run metadata.
Validation: all 13 script tests pass; parent checks expose seven failures and the missing scoped-run API. Read-only verification against v7.1.0 finds all six publishing workflows on the correct commit. The workflow's asset gate precedes the stamp, and actionlint passes.
References: GitHub commit references, workflow run pagination, and SemVer.