diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b8cb03..a00b901 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,7 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAP_GITHUB_TOKEN: ${{ secrets.TAP }} build-and-push-image: runs-on: ubuntu-latest diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d81b11d..a28c8be 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -22,8 +22,25 @@ builds: tags: - netgo +brews: + - name: gcredstash + ids: + - archives + homepage: "https://github.com/kgaughan/mercury" + tap: + owner: kgaughan + name: homebrew-tap + token: "{{ .Env.TAP_GITHUB_TOKEN }}" + commit_author: + name: Keith Gaughan + email: k@stereochro.me + description: "A Planet-style feed aggregator" + license: "MIT" + commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" + archives: - - format: tar.xz + - format: tar.gz + id: archives name_template: >- {{ .ProjectName }}_ {{- .Version }}_ @@ -53,5 +70,6 @@ changelog: exclude: - "^docs:" - "^test:" + # yaml-language-server: $schema=https://goreleaser.com/static/schema.json # vim: set ts=2 sw=2 tw=0 fo=cnqoj