Skip to content

Use external Homebrew tap and auto-bump formula on release#1

Open
rkabrick wants to merge 2 commits into
mainfrom
homebrew-tap-automation
Open

Use external Homebrew tap and auto-bump formula on release#1
rkabrick wants to merge 2 commits into
mainfrom
homebrew-tap-automation

Conversation

@rkabrick
Copy link
Copy Markdown

Summary

Now that tactcomplabs/homebrew-mackage exists as a proper Homebrew tap, this wires the main repo up to it.

  • README: Installation now just says brew tap tactcomplabs/mackage && brew install mackage — drops the old brew tap-new local/mackage copy workaround.
  • Removed Formula/mackage.rb: the formula lives solely in the tap repo now (single source of truth, no drift).
  • New workflow .github/workflows/bump-homebrew-tap.yml: on each published release (or manual dispatch with a tag), it recomputes the tarball sha256 and commits the bumped url/sha256 into the tap.

One required setup step

The bump workflow pushes to a different repo, so the default GITHUB_TOKEN isn't enough. Add a token secret on this repo:

```sh

Fine-grained PAT: resource owner tactcomplabs, repo homebrew-mackage, Contents: read/write

(or a classic PAT with repo scope)

gh secret set HOMEBREW_TAP_TOKEN -R tactcomplabs/mackage
```

Testing

  • Tap + brew install + brew audit --strict --online all verified green before this PR.
  • After merge + secret: trigger the workflow via Actions → Bump Homebrew tap formula → Run workflow with tag: v1.0.0 to confirm it round-trips.

rkabrick added 2 commits May 27, 2026 14:48
- Point README install instructions at the tactcomplabs/mackage tap
  instead of the local tap-new workaround.
- Remove the in-repo Formula/mackage.rb; the formula now lives solely in
  tactcomplabs/homebrew-mackage (single source of truth).
- Add a workflow that bumps url+sha256 in the tap on each published
  release (and via manual dispatch for a given tag).
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