Consolidate band formula at Formula/band.rb#5
Merged
Conversation
Two duplicate formulas existed after the v0.0.1-beta release: - `Formula/band.rb` — placeholder committed when the tap was set up, with dummy `v0.0.3-beta` URLs and zero'd SHAs. - `band.rb` at root — just-published formula with real v0.0.1-beta URLs and correct checksums, added by GoReleaser PR #4. Homebrew prefers `Formula/` over the repo root, so `brew install Bandwidth/tap/band` was resolving to the placeholder and failing with `404 v0.0.3-beta`. Move the GoReleaser-generated formula into `Formula/band.rb` (replacing the placeholder) and delete the root copy. A matching change on Bandwidth/cli's `.goreleaser.yml` (adding `directory: Formula`) will keep future releases writing to the same location, so we don't re-introduce the duplicate.
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
joshraub-bw
previously approved these changes
Apr 17, 2026
tdewire
previously approved these changes
Apr 17, 2026
joshraub-bw
approved these changes
Apr 17, 2026
tdewire
approved these changes
Apr 17, 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
Two duplicate band formulas ended up on the tap after the v0.0.1-beta release:
Formula/band.rb— the placeholder committed when the tap was initially set up, with dummyv0.0.3-betaURLs and zero'd SHAs.band.rbat the root — the real formula for v0.0.1-beta, added by GoReleaser PR SWI-10615 Brew formula update for cli version v0.0.1-beta #4, with correct download URLs and checksums.Homebrew prefers
Formula/over the repo root, sobrew install Bandwidth/tap/bandresolves to the placeholder and fails trying to downloadv0.0.3-beta(which doesn't exist).This PR:
Formula/band.rbwith the contents of the rootband.rb(the real v0.0.1-beta formula with correct URLs + SHAs)band.rbFollow-up on the cli side
A matching change is being opened on
Bandwidth/cli's.goreleaser.yml— addingdirectory: Formulato the brews block — so future releases write toFormula/band.rbdirectly and don't re-create the root copy.Test plan
brew update && brew install Bandwidth/tap/bandinstalls v0.0.1-beta successfullyband versionprints0.0.1-beta