diff --git a/README.md b/README.md index 6f7673e..dd1dab6 100644 --- a/README.md +++ b/README.md @@ -128,13 +128,13 @@ $ go get -u github.com/appleboy/gorush On linux ``` -$ wget -qO- https://github.com/appleboy/gorush/releases/download/v1.6.4/gorush-v1.6.4-linux-amd64.tar.gz | tar xvz +$ wget https://github.com/appleboy/gorush/releases/download/v1.6.5/gorush-v1.6.5-linux-amd64 -O gorush ``` On OS X ``` -$ wget -qO- https://github.com/appleboy/gorush/releases/download/v1.6.4/gorush-v1.6.4-darwin-amd64.tar.gz | tar xvz +$ wget https://github.com/appleboy/gorush/releases/download/v1.6.5/gorush-v1.6.5-darwin-amd64 -O gorush ``` ### Command Usage diff --git a/script/build.sh b/script/build.sh deleted file mode 100755 index 639ec6c..0000000 --- a/script/build.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -OS="darwin linux" -ARCH="amd64" -VERSION=$1 - -for GOOS in $OS; do - for GOARCH in $ARCH; do - EXE="gorush" - (test "$GOOS" = "windows") && EXE="gorush.exe" - - echo "Build: ${GOOS}, Arch: ${GOARCH}, EXE: ${EXE}" - GOOS=$GOOS GOARCH=$GOARCH CGO_ENABLED=0 go build -ldflags="-s -w -X main.Version=${VERSION}" -o bin/$GOOS/$GOARCH/${EXE} gorush.go; - tar -C bin/$GOOS/$GOARCH -czf bin/gorush-$VERSION-$GOOS-$GOARCH.tar.gz gorush - done -done