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 }}" +