Skip to content

Commit

Permalink
Homebrew tap (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgaughan authored Jun 11, 2023
1 parent 7ea8ae4 commit 40e6357
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 19 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
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 }}_
Expand Down Expand Up @@ -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

0 comments on commit 40e6357

Please sign in to comment.