Skip to content

Fix release: use separate tokens for release and Homebrew tap#9

Merged
DTTerastar merged 1 commit into
mainfrom
fix-release-tokens
Apr 8, 2026
Merged

Fix release: use separate tokens for release and Homebrew tap#9
DTTerastar merged 1 commit into
mainfrom
fix-release-tokens

Conversation

@DTTerastar
Copy link
Copy Markdown
Collaborator

Summary

  • Restore GITHUB_TOKEN for the release itself (creating the draft on GitHub)
  • Pass HOMEBREW_TAP_TOKEN as HOMEBREW_TAP_GITHUB_TOKEN env var, referenced in .goreleaser.yml via repository.token

The previous PR replaced GITHUB_TOKEN entirely, which broke release creation (403).

Test plan

  • Merge, delete v1.0.3 tag/release, re-tag, verify both release and formula are created

🤖 Generated with Claude Code

GITHUB_TOKEN handles the release itself, while HOMEBREW_TAP_TOKEN
is passed to goreleaser via HOMEBREW_TAP_GITHUB_TOKEN for pushing
the formula to DTTerastar/homebrew-tap.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@DTTerastar DTTerastar merged commit 76c4d68 into main Apr 8, 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