From d8b0ee700c77ea6df9c294df9741a85eac1db6ae Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 12 Apr 2016 15:37:53 +0800 Subject: [PATCH] [ci skip] remove windows support. Signed-off-by: Bo-Yi Wu --- script/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/build.sh b/script/build.sh index eb82808..324ed90 100755 --- a/script/build.sh +++ b/script/build.sh @@ -1,6 +1,6 @@ #!/bin/sh -OS="darwin linux windows" +OS="darwin linux" ARCH="amd64" for GOOS in $OS; do @@ -10,5 +10,6 @@ for GOOS in $OS; do echo "Build: ${GOOS}, Arch: ${GOARCH}, EXE: ${EXE}" GOOS=$GOOS GOARCH=$GOARCH go build -ldflags="-w" -o bin/$GOOS/$GOARCH/${EXE} gopush.go; + tar -C bin/$GOOS/$GOARCH -czf bin/gopush-$GOOS-$GOARCH.tar.gz gopush done done