Skip to content

fix(release): publish with gh CLI, assert asset count, manual re-verify of a tag - #25

Merged
efij merged 2 commits into
mainfrom
fix/release-publish
Sep 2, 2026
Merged

fix(release): publish with gh CLI, assert asset count, manual re-verify of a tag#25
efij merged 2 commits into
mainfrom
fix/release-publish

Conversation

@efij

@efij efij commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Why

The v0.12.1 tag run (33678952485) uploaded all 22 assets, then softprops/action-gh-release failed on a post-upload metadata call (Not Found), leaving the release as a draft with one Sigstore bundle missing and the verify job skipped.

What

  • Publish step uses gh release create/upload/edit: idempotent on re-run, sequential uploads, asserts published asset count == files in dist/ before un-drafting.
  • workflow_dispatch with a tag input runs verify against an already-published release (build skipped).
  • RELEASE_TAG env replaces GITHUB_REF_NAME throughout.
  • CHANGELOG (Unreleased) and docs/install.md note the manual re-verify.

Workflow-only; no runtime code. YAML validated locally.

efij added 2 commits September 2, 2026 23:29
…e-verify of a tag

The v0.12.1 tag run uploaded all assets but softprops/action-gh-release failed on a post-upload metadata call (Not Found), leaving the release as a draft with one Sigstore bundle missing and the verify job skipped.

- Publish step now uses gh release create/upload/edit: idempotent on re-run, sequential uploads, asserts published asset count == files in dist before un-drafting.
- workflow_dispatch with a tag input runs verify against an already-published release (build skipped).
- RELEASE_TAG env replaces GITHUB_REF_NAME throughout.
@efij
efij merged commit 1e22693 into main Sep 2, 2026
5 checks passed
@efij
efij deleted the fix/release-publish branch September 2, 2026 20:36
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