Skip to content

Commit 06d24ab

Browse files
barckcodeclaude
andcommitted
Add Homebrew tap support via goreleaser
Configure goreleaser to auto-publish a Homebrew formula to helmcode/homebrew-tap on each release. Update release workflow to pass HOMEBREW_TAP_TOKEN for cross-repo access. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bdaba58 commit 06d24ab

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,4 @@ jobs:
8181
args: release --clean
8282
env:
8383
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84+
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

.goreleaser.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,19 @@ changelog:
3535
- "^test:"
3636
- "^ci:"
3737

38+
brews:
39+
- repository:
40+
owner: helmcode
41+
name: homebrew-tap
42+
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
43+
homepage: "https://github.com/helmcode/finops-cli"
44+
description: "Cloud FinOps CLI for cost analysis, anomaly detection, and optimization"
45+
license: "MIT"
46+
install: |
47+
bin.install "finops"
48+
test: |
49+
system bin/"finops", "version"
50+
3851
release:
3952
github:
4053
owner: helmcode

0 commit comments

Comments
 (0)