Skip to content

Commit 550e851

Browse files
committed
Add Homebrew tap distribution
- brews section in goreleaser config - HOMEBREW_TAP_TOKEN in release workflow - brew install instructions in README
1 parent 94515b0 commit 550e851

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ jobs:
2929
args: release --clean
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

.goreleaser.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,16 @@ changelog:
5757
- "^docs:"
5858
- "^test:"
5959
- "^chore:"
60+
61+
brews:
62+
- repository:
63+
owner: operator-kit
64+
name: homebrew-tap
65+
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
66+
homepage: "https://github.com/operator-kit/github-app-auth"
67+
description: "GitHub App authentication for git and gh"
68+
install: |
69+
bin.install "ghapp"
70+
bin.install "ghapp-gh"
71+
test: |
72+
system "#{bin}/ghapp", "version"

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ CLI tool that authenticates as a GitHub App, generates installation tokens, and
55
## Install
66

77
```bash
8+
# Homebrew (macOS/Linux)
9+
brew tap operator-kit/tap
10+
brew install ghapp
11+
812
# One-liner (Linux/macOS)
913
curl -sSL https://raw.githubusercontent.com/operator-kit/github-app-auth/main/install.sh | bash
1014

0 commit comments

Comments
 (0)