Skip to content

Commit

Permalink
release: add homebrew publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
HandOfGod94 committed Jul 15, 2023
1 parent a65c0e7 commit 5db1b13
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
tags:
- '*'
env:
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}

permissions:
contents: write
Expand Down
15 changes: 15 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@ archives:
format: zip
checksum:
name_template: 'checksums.txt'
brews:
- name: gh-jira-changelog
tap:
owner: handofgod94
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
skip_upload: auto
commit_author:
name: Gahan Rakholia
email: [email protected]
commit_msg_template: 'Brew formula update for {{ .ProjectName }} version {{ .Tag }}'
homepage: 'https://github.com/HandOfGod94/gh-jira-changelog'
description: "Changelog generator using jira issues"
license: "Apache-2.0"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
Expand Down

0 comments on commit 5db1b13

Please sign in to comment.