Skip to content

Commit

Permalink
feat: setup goreleaser to update brew formula
Browse files Browse the repository at this point in the history
  • Loading branch information
biasedbit committed Dec 22, 2024
1 parent 438215d commit 4be18a8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
18 changes: 18 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,21 @@ changelog:
exclude:
- "^docs:" # Exclude commits starting with "docs:"
- "^test:" # Exclude commits starting with "test:"

# Homebrew formulas to update on release
brews:
- name: sandworm
repository:
owner: umwelt-studio
name: homebrew-tap
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
homepage: "https://github.com/umwelt-studio/sandworm"
description: "Project file concatenator for Claude AI"
license: "MIT"

test: |
system "#{bin}/sandworm --help"
dependencies:
- name: go
type: build

0 comments on commit 4be18a8

Please sign in to comment.