diff --git a/.travis.yml b/.travis.yml index 82645c7..c1e7d78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,3 @@ script: - go test -v after_success: - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash - - test -z "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash -s -- --snapshot \ No newline at end of file diff --git a/README.md b/README.md index 582799d..7772c18 100644 --- a/README.md +++ b/README.md @@ -39,24 +39,16 @@ I have been using python-supervisor for many years and there are something uncom Go version at least `1.6+` ## Installation -Standalone binary can be download from one of the following addresses +### Binaries + -| Branch | Source | Address | -|--------|--------|---------| -| latest | equinox| | - -Or if you have go enviroment, you can also build from source. +Thanks to [goreleaser](https://github.com/goreleaser/goreleaser) which makes publish binary automatic. +### Build from source ```sh go get -d github.com/codeskyblue/gosuv cd $GOPATH/src/github.com/codeskyblue/gosuv -go build -``` - -If you want to build a standalone binary, run the following command. - -```sh -go generate +go generate # package html resources into go go build -tags vfs ```