Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,23 @@ nfpms:
formats: [deb, rpm]
bindir: /usr/bin

homebrew_casks:
brews:
- repository:
owner: groundsgg
name: homebrew-tap
# Sibling-repo push needs cross-repo write — use the PAT
# exposed as HOMEBREW_TAP_PAT in the workflow.
token: "{{ .Env.HOMEBREW_TAP_PAT }}"
name: grounds
binaries:
- grounds
homepage: https://grounds.gg
description: Grounds Internal Developer Platform CLI
license: Apache-2.0
generate_completions_from_executable:
executable: "bin/grounds"
args:
- completion
shell_parameter_format: cobra
# Cask was the old setup; goreleaser wrote 0.1.10+ into Casks/
# while the top-level Formula (where `brew install grounds/tap/grounds`
# looks) stuck at 0.1.7. Formula is the conventional shape for a
# CLI binary and lets users keep the formula install path.
test: |
assert_match "grounds version", shell_output("#{bin}/grounds version")

scoops:
- repository:
Expand Down
Loading