fix(release): publish Homebrew formula instead of cask#24
Merged
Conversation
goreleaser was writing into Casks/grounds.rb on every release (0.1.8 → 0.1.10), but `brew install grounds/tap/grounds` looks for a Formula, not a Cask. The top-level grounds.rb (Formula) in the tap was last touched manually for 0.1.7 and never updated since — so anyone using the formula install path stuck at 0.1.7 while every release pushed a fresh Cask none of them touched. Cask is for macOS GUI apps; Formula is the conventional shape for a cross-platform CLI binary. Switching to `brews:` so each release overwrites the top-level Formula and the install path users already have starts working again. The obsolete Casks/grounds.rb in the tap can be deleted in a separate cleanup; leaving it temporarily keeps any existing `brew install --cask` users at 0.1.10 until they switch.
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
Casks/grounds.rbon every release (0.1.8 → 0.1.10), but `brew install groundsgg/tap/grounds` looks for a Formula, not a Cask. The top-level `grounds.rb` (Formula) was last touched manually for 0.1.7 and never updated since.Switching `homebrew_casks:` → `brews:` so each release overwrites the top-level Formula and the install path users already have starts working again.
Test plan
🤖 Generated with Claude Code