Skip to content

ci: validate the release tag before publishing - #653

Merged
forhappy merged 1 commit into
crab-v2from
codex/fix-tag-release-publish
Nov 5, 2026
Merged

forhappy merged 1 commit into
crab-v2from
codex/fix-tag-release-publish

Conversation

@forhappy

@forhappy forhappy commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Publishing the v2 alpha stopped after assembly because gh release create --fail-on-no-commits compares the latest stable release to the repository’s default HEAD, even when a different tag is requested. The alpha tag had 338 commits absent from the stable tag.

Verify that the runner checkout and the remote annotated tag both resolve to the commit prepared by the workflow. Keep --verify-tag and the existing check that refuses to replace a published release.

Validated Bash syntax and ran the tag guard against the actual alpha tag and an intentionally mismatched commit. This is a follow-up for future tagged runs; the alpha binaries and tag are unchanged.

@forhappy
forhappy merged commit 1ea2f5c into crab-v2 Nov 5, 2026
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant