diff --git a/build/build.sh b/build/build.sh index defdf08..d21e235 100644 --- a/build/build.sh +++ b/build/build.sh @@ -4,22 +4,22 @@ echo $lastTag > version.txt # Linux GO_ENABLED=0 GOOS=linux GOARCH=amd64 target="hotbuild_${lastTag}_${GOOS}_${GOARCH}" -go build -ldflags="-X 'main.Version=$lastTag'" -o ./build/$target/ +GO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-X 'main.Version=$lastTag'" -o ./build/$target/ cd build/ -zip -mr $target.zip $target +# zip -mr $target.zip $target cd .. # macosx GO_ENABLED=0 GOOS=darwin GOARCH=amd64 target="hotbuild_${lastTag}_${GOOS}_${GOARCH}" -go build -ldflags="-X 'main.Version=$lastTag'" -o ./build/$target/ +GO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags="-X 'main.Version=$lastTag'" -o ./build/$target/ cd build/ -zip -mr $target.zip $target +# zip -mr $target.zip $target cd .. # windows GO_ENABLED=0 GOOS=windows GOARCH=amd64 target="hotbuild_${lastTag}_${GOOS}_${GOARCH}" -go build -ldflags="-X 'main.Version=$lastTag'" -o ./build/$target/ +GO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags="-X 'main.Version=$lastTag'" -o ./build/$target/ cd build/ -zip -mr $target.zip $target +# zip -mr $target.zip $target cd .. diff --git a/version.txt b/version.txt index e946d6b..3e7bcf0 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v1.0.3 +v1.0.4