Skip to content

fix(release): make release.sh idempotent for pre-existing releases#15

Merged
bakeb7j0 merged 1 commit into
mainfrom
fix/release-idempotent
Apr 12, 2026
Merged

fix(release): make release.sh idempotent for pre-existing releases#15
bakeb7j0 merged 1 commit into
mainfrom
fix/release-idempotent

Conversation

@bakeb7j0
Copy link
Copy Markdown
Contributor

Summary

  • Make release.sh check if a GitHub release already exists before calling gh release create
  • If the release exists, upload assets with gh release upload --clobber instead of failing
  • Fixes the v1.3.1 empty release that caused remote installer 404s

Closes #14

Test plan

  • Verify scripts/ci/validate.sh passes (lint, shellcheck, 86 tests)
  • Re-run release workflow for v1.3.1 after merge to confirm assets upload correctly
  • Test remote installer after assets are uploaded

🤖 Generated with Claude Code

Check if the GitHub release already exists before creating. If it does,
upload assets with --clobber instead of failing. This prevents empty
releases when the tag is created before the workflow runs.

Closes #14

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bakeb7j0 bakeb7j0 added this pull request to the merge queue Apr 12, 2026
Merged via the queue into main with commit 1fd6796 Apr 12, 2026
4 checks passed
@bakeb7j0 bakeb7j0 deleted the fix/release-idempotent branch April 12, 2026 17:47
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.

fix(release): release.sh fails when release already exists

1 participant