Skip to content

Commit bd67911

Browse files
committed
ci: add brew support
Signed-off-by: Carlos Alexandro Becker <[email protected]>
1 parent d5c19e5 commit bd67911

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.goreleaser.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,18 @@ docker_signs:
140140
- "sign"
141141
- "${artifact}"
142142
- "--yes"
143+
144+
# Sets up homebrew-taps.
145+
# PS: this will require a personal access token, as it is cross-repository.
146+
brews:
147+
- repository:
148+
owner: goreleaser
149+
name: example-homebrew-tap
150+
token: "{{ .Env.GH_PAT }}"
151+
directory: Formula
152+
homepage: https://goreleaser.com
153+
description: Example zig release.
154+
license: MIT
155+
# usually you don't need to set this, we do to prevent conflicts with other
156+
# example-* repositories
157+
name: example-zig

0 commit comments

Comments
 (0)