From 0aa70209c1378cc9df98b0e99569c6c0b77ab7bb Mon Sep 17 00:00:00 2001 From: jon4hz Date: Tue, 31 Jan 2023 02:25:47 +0100 Subject: [PATCH] ci: add homebrew --- .github/workflows/release.yml | 3 ++- .goreleaser.yml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ec8d72..bd65b21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -107,4 +107,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} FURY_TOKEN: ${{ secrets.FURY_TOKEN }} - AUR_KEY: ${{ secrets.AUR_KEY }} \ No newline at end of file + AUR_KEY: ${{ secrets.AUR_KEY }} + HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml index 77771fd..ad8864b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -177,3 +177,19 @@ changelog: furies: - account: jon4hz + +brews: + - + name: '{{ .Var.binary_name }}' + ids: + - default + tap: + owner: jon4hz + name: homebrew-tap + token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" + commit_author: + name: jon4hz + email: me@jon4hz.io + homepage: '{{ .Var.homepage }}' + description: '{{ .Var.description }}' +