Skip to content

Commit ce8871b

Browse files
authored
Merge pull request #1 from umlx5h/homebrew-support
Add homebrew tap support
2 parents 0d1c75f + 8cb72c5 commit ce8871b

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
args: release --clean
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
# needed by homebrew
38+
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
3739
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
3840
# distribution:
3941
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.goreleaser.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ changelog:
3535
exclude:
3636
- '^docs:'
3737
- '^test:'
38+
brews:
39+
- repository:
40+
owner: umlx5h
41+
name: homebrew-tap
42+
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
43+
homepage: "https://github.com/umlx5h/zsh-manpage-completion-generator"
44+
description: "Automatically generate zsh completions from man page"
45+
license: "MIT"
3846

3947
# The lines beneath this are called `modelines`. See `:help modeline`
4048
# Feel free to remove those if you don't want/use them.

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ Download the binary from [GitHub Releases][release] and drop it in your `$PATH`.
3838
- [Linux][release]
3939
- [Mac][release]
4040

41+
**Homebrew:**
42+
43+
```bash
44+
brew install umlx5h/tap/zsh-manpage-completion-generator
45+
```
46+
4147
**Go install:**
4248

4349
```bash

0 commit comments

Comments
 (0)