Skip to content

Commit 96f9cd4

Browse files
committed
feat: add Homebrew tap support via GoReleaser
1 parent 694c3a6 commit 96f9cd4

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
version: "~> v2"
2626
args: release --clean
2727
env:
28-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
GITHUB_TOKEN: ${{ secrets.BREW_TOKEN }}

.goreleaser.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,21 @@ builds:
1515
- -s -w -X github.com/tinybluerobots/issuebot/cmd.Version={{.Version}}
1616

1717
archives:
18-
- format: tar.gz
19-
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
18+
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
19+
formats:
20+
- tar.gz
2021

2122
checksum:
2223
name_template: checksums.txt
2324

25+
homebrew_casks:
26+
- repository:
27+
owner: tinybluerobots
28+
name: homebrew-tap
29+
homepage: https://github.com/tinybluerobots/issuebot
30+
description: Autonomous GitHub issue processor powered by any CLI tool
31+
license: MIT
32+
2433
changelog:
2534
sort: asc
2635
filters:

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Autonomous GitHub issue processor powered by any CLI tool. Watches repos for ope
66

77
## Install
88

9+
Via [Homebrew](https://brew.sh):
10+
11+
```bash
12+
brew install tinybluerobots/tap/issuebot
13+
```
14+
915
Via [mise](https://mise.jdx.dev):
1016

1117
```bash

0 commit comments

Comments
 (0)