Skip to content

feat(ci): automate Homebrew formula update on release - #80

Merged
pszymkowiak merged 1 commit into
masterfrom
feat/homebrew-auto-update
Feb 12, 2026
Merged

pszymkowiak merged 1 commit into
masterfrom
feat/homebrew-auto-update

Conversation

@pszymkowiak

Copy link
Copy Markdown
Collaborator

Summary

Replaces the commented-out # TODO: Enable when HOMEBREW_TAP_TOKEN is configured section with a working Homebrew automation, modeled on the rtk-ai/vox pipeline (which already works).

Previously: Every release required a manual update of rtk-ai/homebrew-tap (version + 4 sha256 hashes). The formula was stuck at v0.8.1 while latest was v0.13.1.

Now: On each release, a new homebrew job automatically:

  1. Downloads checksums.txt from the just-published release
  2. Parses sha256 for all 4 platforms (macOS/Linux x Intel/ARM)
  3. Generates the formula with correct version and hashes
  4. Pushes to rtk-ai/homebrew-tap via GitHub API

Requires: HOMEBREW_TAP_TOKEN org secret (already configured — used by vox).

Test plan

  • Merge → next release-please cycle will test the full flow
  • Verify brew info rtk-ai/tap/rtk shows the new version after next release

🤖 Generated with Claude Code

Replaces the commented-out TODO homebrew section with a working
automation modeled on rtk-ai/vox's release pipeline.

On each release, the new homebrew job:
1. Downloads checksums.txt from the just-published release
2. Parses sha256 for all 4 platforms (macOS/Linux × Intel/ARM)
3. Generates the formula with correct version and hashes
4. Pushes to rtk-ai/homebrew-tap via GitHub API

Requires HOMEBREW_TAP_TOKEN org secret (already used by vox).

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@pszymkowiak
pszymkowiak merged commit a0d2184 into master Feb 12, 2026
2 checks passed
@pszymkowiak
pszymkowiak deleted the feat/homebrew-auto-update branch February 12, 2026 11:26
ahundt pushed a commit to ahundt/rtk that referenced this pull request Feb 23, 2026
Replaces the commented-out TODO homebrew section with a working
automation modeled on rtk-ai/vox's release pipeline.

On each release, the new homebrew job:
1. Downloads checksums.txt from the just-published release
2. Parses sha256 for all 4 platforms (macOS/Linux × Intel/ARM)
3. Generates the formula with correct version and hashes
4. Pushes to rtk-ai/homebrew-tap via GitHub API

Requires HOMEBREW_TAP_TOKEN org secret (already used by vox).

Co-authored-by: Claude Opus 4.6 <[email protected]>
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