diff --git a/README.md b/README.md index ca90c45d..ff9893a9 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ $ go get -u github.com/aybabtme/humanlog/... ## On linux ```bash -wget -qO- https://github.com/aybabtme/humanlog/releases/download/0.1.8/humanlog_linux_amd64.tar.gz | tar xvz +wget -qO- https://github.com/aybabtme/humanlog/releases/download/0.1.9/humanlog_linux_amd64.tar.gz | tar xvz ``` ## On OS X ```bash -wget -qO- https://github.com/aybabtme/humanlog/releases/download/0.1.8/humanlog_darwin_amd64.tar.gz | tar xvz +wget -qO- https://github.com/aybabtme/humanlog/releases/download/0.1.9/humanlog_darwin_amd64.tar.gz | tar xvz ``` # Example @@ -53,7 +53,7 @@ USAGE: humanlog [global options] command [command options] [arguments...] VERSION: - 0.1.8 + 0.1.9 AUTHOR: Antoine Grondin - diff --git a/scripts/release.sh b/scripts/release.sh index d7780a9e..22758745 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -20,18 +20,18 @@ fi set -u -e -rm -rf /tmp/temple_build/ +rm -rf /tmp/humanlog_build/ -mkdir -p /tmp/temple_build/linux -GOOS=linux godep go build -ldflags "-X main.version=$VERSION" -o /tmp/temple_build/linux/temple ../ -pushd /tmp/temple_build/linux/ -tar cvzf /tmp/temple_build/temple_linux.tar.gz temple +mkdir -p /tmp/humanlog_build/linux +GOOS=linux godep go build -ldflags "-X main.version=$VERSION" -o /tmp/humanlog_build/linux/humanlog ../ +pushd /tmp/humanlog_build/linux/ +tar cvzf /tmp/humanlog_build/humanlog_linux.tar.gz humanlog popd -mkdir -p /tmp/temple_build/darwin -GOOS=darwin godep go build -ldflags "-X main.version=$VERSION" -o /tmp/temple_build/darwin/temple ../ -pushd /tmp/temple_build/darwin/ -tar cvzf /tmp/temple_build/temple_darwin.tar.gz temple +mkdir -p /tmp/humanlog_build/darwin +GOOS=darwin godep go build -ldflags "-X main.version=$VERSION" -o /tmp/humanlog_build/darwin/humanlog ../ +pushd /tmp/humanlog_build/darwin/ +tar cvzf /tmp/humanlog_build/humanlog_darwin.tar.gz humanlog popd temple file < README.tmpl.md > ../README.md -var "version=$VERSION" @@ -39,8 +39,8 @@ git add ../README.md git commit -m 'release bump' hub release create \ - -a /tmp/temple_build/temple_linux.tar.gz \ - -a /tmp/temple_build/temple_darwin.tar.gz \ + -a /tmp/humanlog_build/humanlog_linux.tar.gz \ + -a /tmp/humanlog_build/humanlog_darwin.tar.gz \ $VERSION git push origin master