Skip to content

Commit

Permalink
add brew install info
Browse files Browse the repository at this point in the history
  • Loading branch information
aybabtme committed Apr 16, 2017
1 parent f8dd741 commit d800f71
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ brew:
github:
owner: aybabtme
name: homebrew-tap

fpm:
formats:
- deb
3 changes: 2 additions & 1 deletion scripts/README.tmpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ wget -qO- https://github.com/aybabtme/humanlog/releases/download/{{.version}}/hu
## On OS X

```bash
wget -qO- https://github.com/aybabtme/humanlog/releases/download/{{.version}}/humanlog_darwin.tar.gz | tar xvz
brew tap aybabtme/homebrew-tap
brew install humanlog
```

# Example
Expand Down
2 changes: 2 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ usage() {
exit 1
}

command -v goreleaser >/dev/null 2>&1 || { echo "Required: goreleaser. Install it https://github.com/goreleaser/goreleaser. Aborting." >&2; exit 1; }

if [ "$GITHUB_TOKEN" = "" ]; then
echo "Need to specify a GITHUB_TOKEN!"
usage
Expand Down

0 comments on commit d800f71

Please sign in to comment.