feat(release): publish Homebrew cask to ryanlewis/homebrew-tap#84
Merged
Conversation
Wire up GoReleaser's homebrew_casks block so each tagged release auto-publishes Casks/things.rb to ryanlewis/homebrew-tap, enabling `brew install ryanlewis/tap/things`. - .goreleaser.yaml: homebrew_casks block (preferred over deprecated brews:) targeting ryanlewis/homebrew-tap, with quarantine xattr removal hook for unsigned binaries - .github/workflows/release.yml: pass HOMEBREW_TAP_GITHUB_TOKEN secret into goreleaser step - README.md and docs/_tabs/install.md: surface brew install as the recommended install path Closes #14
This was referenced May 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
homebrew_casks:block so each tagged release auto-publishesCasks/things.rbtoryanlewis/homebrew-tapbrew install ryanlewis/tap/things— surfaced as the first install option in README and docs sitehomebrew_casksrather thanbrewsbecause GoReleaser deprecatedbrews:in v2.10 in favour of casks for distributing pre-compiled binaries (no warnings ongoreleaser check)postflightxattr hook to stripcom.apple.quarantinefrom the binary, since we don't codesign the release artifactsCloses #14.
Prerequisites already in place
ryanlewis/homebrew-taprepo createdHOMEBREW_TAP_GITHUB_TOKENsecret configured in this repo (fine-grained PAT withContents: Read and writeon the tap repo only, expires 2027-04-30)Test plan
goreleaser checkpasses with no deprecation warningsgoreleaser release --snapshot --clean --skip=publishgenerates a syntactically validdist/homebrew/Casks/things.rbwith per-arch URLs (amd64 + arm64), correct sha256s, and the postflight xattr blockv0.3.0tag and confirm the Release workflow pushesCasks/things.rbtoryanlewis/homebrew-tapbrew install ryanlewis/tap/things && things --versionworks end-to-end