Skip to content

Commit

Permalink
Merge pull request #1 from umlx5h/homebrew-support
Browse files Browse the repository at this point in the history
Add homebrew tap support
  • Loading branch information
umlx5h authored Jan 7, 2024
2 parents 0d1c75f + 8cb72c5 commit ce8871b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# needed by homebrew
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
# distribution:
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
8 changes: 8 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ changelog:
exclude:
- '^docs:'
- '^test:'
brews:
- repository:
owner: umlx5h
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
homepage: "https://github.com/umlx5h/zsh-manpage-completion-generator"
description: "Automatically generate zsh completions from man page"
license: "MIT"

# The lines beneath this are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/use them.
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ Download the binary from [GitHub Releases][release] and drop it in your `$PATH`.
- [Linux][release]
- [Mac][release]

**Homebrew:**

```bash
brew install umlx5h/tap/zsh-manpage-completion-generator
```

**Go install:**

```bash
Expand Down

0 comments on commit ce8871b

Please sign in to comment.