From 5bf4c6e29cbccd1757dae0c4cc8cc78fab9507e2 Mon Sep 17 00:00:00 2001 From: Quinn Milionis Date: Wed, 11 Mar 2026 16:03:25 -0700 Subject: [PATCH] Fix GoReleaser config: use PAT for tap repo and resolve deprecations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use HOMEBREW_TAP_GITHUB_TOKEN for pushing to homebrew-scout-cli repo (fixes 403 "Resource not accessible by integration" error) - Migrate brews → homebrew_casks (deprecated since v2.10) - Migrate archives.format → archives.formats (deprecated) Co-Authored-By: Claude Opus 4.6 --- .goreleaser.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7a736f7..0fbabdf 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -15,11 +15,13 @@ builds: - -s -w -X github.com/scoutapm/scout/cmd.Version={{.Version}} archives: - - format: tar.gz - name_template: "scout-cli_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + - formats: + - tar.gz format_overrides: - goos: windows - format: zip + formats: + - zip + name_template: "scout-cli_{{ .Version }}_{{ .Os }}_{{ .Arch }}" checksum: name_template: "checksums.txt" @@ -32,15 +34,13 @@ changelog: - "^test:" - "^ci:" -brews: +homebrew_casks: - repository: owner: scoutapp name: homebrew-scout-cli + token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" name: scout-cli + binaries: + - scout homepage: "https://github.com/scoutapp/scout-cli" description: "Scout APM CLI — monitor application performance from the terminal" - license: "MIT" - install: | - bin.install "scout" - test: | - system "#{bin}/scout", "--version"