diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 73c498a..7fb441b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,6 +37,7 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} - name: Run GoReleaser snapshot if: github.event_name == 'workflow_dispatch' diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6dbab9c..70218ba 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -50,6 +50,19 @@ release: make_latest: true prerelease: auto +brews: + - name: kedify + ids: + - kedify + skip_upload: "{{ .IsSnapshot }}" + repository: + owner: kedify + name: homebrew-tap + branch: main + token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" + homepage: "https://github.com/kedify/cli" + description: "Kedify CLI" + changelog: use: git