Skip to content

Commit dcd9011

Browse files
authored
chore: add HOMEBREW_TAP_TOKEN to release workflow environment variables (#33)
1 parent f1bea0a commit dcd9011

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ jobs:
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
5656
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
57+
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

.goreleaser.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,19 @@ changelog:
3939
- '^test:'
4040

4141
brews:
42-
- homepage: 'https://github.com/sgaunet/homebrew-tools'
42+
- homepage: 'https://github.com/sgaunet/pplx'
43+
description: ''
4344
directory: Formula
4445
commit_author:
4546
name: sgaunet
46-
email: sgaunet@gmail.com
47+
email: 1552102+sgaunet@users.noreply.github.com
4748
repository:
4849
owner: sgaunet
4950
name: homebrew-tools
51+
# Token with 'repo' scope is required for pushing to a different repository
52+
token: '{{ .Env.HOMEBREW_TAP_TOKEN }}'
53+
url_template: 'https://github.com/sgaunet/pplx/releases/download/{{ .Tag }}/{{ .ArtifactName }}'
54+
install: |
55+
bin.install "pplx"
56+
test: |
57+
system "#{bin}/pplx", "--help"

0 commit comments

Comments
 (0)