Skip to content

Commit 01e318e

Browse files
author
James Campbell
committed
Add HOMEBREW_TAP_TOKEN support for automatic formula publishing
1 parent 3822b1a commit 01e318e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ jobs:
3030
args: release --clean
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
3334

.goreleaser.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,12 @@ changelog:
4242
- '^test:'
4343
- '^chore:'
4444

45-
# Homebrew formula is managed manually in james-see/homebrew-tap
45+
brews:
46+
- repository:
47+
owner: james-see
48+
name: homebrew-tap
49+
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
50+
homepage: https://github.com/james-see/swatchify
51+
description: Extract dominant colors from images
52+
license: MIT
4653

0 commit comments

Comments
 (0)