From f5db0b13a939ffe90096865456cde1557bee5afc Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Tue, 29 Jul 2025 16:46:15 -0400 Subject: [PATCH] fix(ci): release: use brew formula instead of casks --- .goreleaser.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index da513e32d4d9a6820048490ba32a426e38082b30..904cced5529382d6539d0da1107bd0522d438d3b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -115,11 +115,23 @@ furies: account: "{{ with .Env.FURY_TOKEN }}charmcli{{ else }}{{ end }}" secret_name: FURY_TOKEN -homebrew_casks: +brews: - repository: - owner: charmbracelet + owner: "charmbracelet" name: homebrew-tap token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" + commit_author: + name: "Kujtim Hoxha" + email: "kujtim@charm.sh" + dependencies: + - name: git + - name: bash + install: |- + bin.install "{{ with .Var.binary_name }}{{ . }}{{ else }}{{ .ProjectName }}{{ end }}" + bash_completion.install "completions/{{ .ProjectName }}.bash" => "{{ .ProjectName }}" + zsh_completion.install "completions/{{ .ProjectName }}.zsh" => "_{{ .ProjectName }}" + fish_completion.install "completions/{{ .ProjectName }}.fish" + man1.install "manpages/{{ .ProjectName }}.1.gz" npms: - name: "@charmland/crush"