From bb0872d13232cb390fefd9570257a0d24d45743a Mon Sep 17 00:00:00 2001 From: Thibault Le Ouay Date: Sun, 3 Nov 2024 21:20:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 ++ .goreleaser.yaml | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ea3811..6c14452 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,8 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} + # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 32ce009..bcef038 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -62,7 +62,8 @@ brews: homepage: https://www.openstatus.dev skip_upload: auto description: "OpenStatus CLI" - + test: | + system "#{bin}/openstatus --help" repository: # Repository owner. # @@ -74,8 +75,7 @@ brews: # Templates: allowed. name: homebrew-tap - # Optionally a branch can be provided. - # - # Default: default repository branch. - # Templates: allowed. + branch: main + token: "{{ .Env.TAP_GITHUB_TOKEN }}" + -- 2.51.2