From 7876313a60922933a1abeeb2e501a57a01e33f95 Mon Sep 17 00:00:00 2001 From: Philip Zeyliger Date: Wed, 7 Jan 2026 11:01:58 -0800 Subject: [PATCH] goreleaser: fix deprecation warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change archives.format to archives.formats (list) - Replace deprecated brews with homebrew_casks - Pin goreleaser version to "~> v2" instead of latest - Update README for cask install command 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 20 +++++++++++--------- README.md | 4 ++-- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfbfe28c5b3e2417d2bab68da0fcb120d0aa7ea9..01cd45b777410c9a5cfdb3e98cf753531595df55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser - version: latest + version: "~> v2" args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index a984a662c8cffd37bdcc95edd5396c128843a44c..227a77ded8861c40a609e850bb1cadd80569d778 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -21,7 +21,8 @@ builds: archives: - id: shelley - format: binary + formats: + - binary name_template: >- {{ .ProjectName }}_ {{- .Os }}_ @@ -49,16 +50,17 @@ release: draft: false prerelease: auto -brews: - - repository: +homebrew_casks: + - name: shelley + binaries: + - shelley + repository: owner: boldsoftware name: homebrew-tap token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" - directory: Formula + directory: Casks homepage: https://github.com/boldsoftware/shelley description: "A mobile-friendly, web-based, multi-modal coding agent" - license: Apache-2.0 - install: | - bin.install "shelley" - test: | - system "#{bin}/shelley", "--help" + hooks: + post_install: | + system "xattr", "-dr", "com.apple.quarantine", "#{caskroom_path}" diff --git a/README.md b/README.md index 2b98f5bfaafc53e97b63b424ed1106546fa8fd73..144bd15a6de3b1969b327e54e00103fada157246 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,10 @@ curl -Lo shelley "https://github.com/boldsoftware/shelley/releases/latest/downlo The binaries are on the [releases page](https://github.com/boldsoftware/shelley/releases/latest). -## Homebrew (macOS/Linux) +## Homebrew (macOS) ```bash -brew install boldsoftware/tap/shelley +brew install --cask boldsoftware/tap/shelley ``` ## Build from Source