Skip to content

Commit 527de42

Browse files
committed
Add homebrew tap
1 parent 10ca2fb commit 527de42

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ jobs:
3131
args: release --rm-dist
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
3435
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
3536
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.goreleaser.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,18 @@ release:
4747
github:
4848
owner: neomantra
4949
name: gotf
50+
51+
brews:
52+
- homepage: https://github.com/neomantra/gotf
53+
description: "Golang-based Time Formatter"
54+
folder: Formula
55+
tap:
56+
owner: neomantra
57+
name: homebrew-tap
58+
branch: main
59+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
60+
commit_author:
61+
name: goreleaserbot
62+
63+
install: |
64+
bin.install "gotf"

0 commit comments

Comments
 (0)