Skip to content

fix: CI release step race condition with latest tag#25

Merged
bottlebrushes merged 1 commit intomainfrom
bettercoderthanyou/fix-wifi-vpn
Feb 23, 2026
Merged

fix: CI release step race condition with latest tag#25
bottlebrushes merged 1 commit intomainfrom
bettercoderthanyou/fix-wifi-vpn

Conversation

@bottlebrushes
Copy link
Copy Markdown
Owner

Summary

  • The release step failed because gh release delete and git push origin :refs/tags/latest are two separate operations that can race — if the tag deletion fails silently, gh release create errors with "tag already exists"
  • Replaced with gh release delete --cleanup-tag which removes both the release and tag atomically

Test plan

  • Push to main triggers build and release without errors

🤖 Generated with Claude Code

Use --cleanup-tag on gh release delete so the tag is removed atomically
with the release, instead of a separate git push that can fail silently.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bottlebrushes bottlebrushes merged commit 5ea82d1 into main Feb 23, 2026
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