From a631dfb1c1b520d7c7fe16e4226f8c6df2e81d91 Mon Sep 17 00:00:00 2001 From: Kush Date: Fri, 17 Apr 2026 14:56:23 -0400 Subject: [PATCH] Write homebrew formula into Formula/ on the tap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The v0.0.1-beta release dropped `band.rb` at the repo root of Bandwidth/homebrew-tap, but Homebrew prefers `Formula/` and the tap already had a `Formula/band.rb` (a placeholder from initial setup). Result: two duplicate formulas and a broken `brew install`. Add `directory: Formula` to the brews block so future releases write to `Formula/band.rb` directly, keeping the formula in the canonical location and avoiding a second duplicate on the next release. Known follow-up on the tap side: GoReleaser always writes an explicit `version "X.Y.Z"` line in the generated formula, which the tap's `brew audit --strict` flags as redundant with the version scanned from the release URL. Every auto-generated PR will fail audit until the tap drops `--strict` (or excludes that specific warning). Loosening `--strict` on our tap doesn't preclude submitting this formula to homebrew-core later — that's a separate, manually- maintained formula at submission time — and the functional checks (URL reachability, SHA match, Ruby parse, license, structure) all still run without it. --- .goreleaser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index d78ce85..006d5e6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -53,6 +53,7 @@ docker_manifests: brews: - name: band + directory: Formula repository: owner: Bandwidth name: homebrew-tap