Skip to content

Commit

Permalink
Merge pull request #145 from nao1215/auto-homebrew
Browse files Browse the repository at this point in the history
Auto generate homebrew tap
  • Loading branch information
nao1215 authored May 1, 2024
2 parents cc8005f + c2a6962 commit d398568
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# Dependency directories (remove the comment below to include it)
# vendor/
gup
dist/
dist
cover.html
8 changes: 8 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,11 @@ nfpms:
- deb
- rpm
- apk
brews:
- name: gup
description: gup - Update binaries installed by "go install"
license: Apache License 2.0
repository:
owner: nao1215
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@ If you are using oh-my-zsh, then gup has an alias set up. The alias is `gup - gi
### Use "go install"
If you does not have the golang development environment installed on your system, please install golang from the [golang official website](https://go.dev/doc/install).
```
$ go install github.com/nao1215/gup@latest
go install github.com/nao1215/gup@latest
```

### For Mac user
```
$ brew tap nao1215/tap
$ brew install nao1215/tap/gup
### Use homebrew
```shell
brew install nao1215/tap/gup
```

### Install from Package or Binary
Expand Down

0 comments on commit d398568

Please sign in to comment.