From bd67911b3bf8448ffe0953ee76b4220d58d3f845 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Mon, 30 Dec 2024 11:05:11 -0300 Subject: [PATCH] ci: add brew support Signed-off-by: Carlos Alexandro Becker --- .goreleaser.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fa76413..90a35f3 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -140,3 +140,18 @@ docker_signs: - "sign" - "${artifact}" - "--yes" + +# Sets up homebrew-taps. +# PS: this will require a personal access token, as it is cross-repository. +brews: + - repository: + owner: goreleaser + name: example-homebrew-tap + token: "{{ .Env.GH_PAT }}" + directory: Formula + homepage: https://goreleaser.com + description: Example zig release. + license: MIT + # usually you don't need to set this, we do to prevent conflicts with other + # example-* repositories + name: example-zig