Skip to content

Commit

Permalink
ghr can be installed from official homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Apr 29, 2019
1 parent a08ca19 commit 1ae2fbe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 103 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ env:
- secure: "c7Owhq9NWblgnQLvmkssks3j4zNPCvgkkagVcuz3GmhcklVrZqY3H57FNepT3pkTYt+EJgqocBoohZodVFXsn917DcrMHETO6enDLUvmsJTTdxVFIU6ylr79NLTfNSJFY//gCe3WiMPw7bEePrAP1o2zMCvK21bZoHN6r48VHgY="
os:
- osx
install:
- echo "skipping travis default"
script:
- make test-all
after_script:
Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ crossbuild: CREDITS
install:
go install -ldflags "-X main.GitCommit=$(COMMIT)"

.PHONY: brew
brew: crossbuild
go run release/main.go v$(VERSION) pkg/dist/v$(VERSION)/ghr_v$(VERSION)_darwin_amd64.zip > ../homebrew-ghr/ghr.rb

.PHONY: upload
upload: build devel-deps
bin/ghr -v
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,13 @@ $ ghr \

## Install

You can download binary from [release page](https://github.com/tcnksm/ghr/releases) and place it in `$PATH` directory.
If you are OSX user, you can use [Homebrew](http://brew.sh/):

```bash
$ brew install ghr
```

If you are in another platform, you can download binary from [release page](https://github.com/tcnksm/ghr/releases) and place it in `$PATH` directory.

Or you can use `go get` (you need to use go1.7 or later),

Expand Down
96 changes: 0 additions & 96 deletions release/main.go

This file was deleted.

0 comments on commit 1ae2fbe

Please sign in to comment.