summaryrefslogtreecommitdiffstats
path: root/make.sh
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-02-18 13:27:38 -0600
committerSean E. Russell <ser@ser1.net>2020-02-18 13:27:38 -0600
commitf96a97c3d8f5b8cd87a6e2f1fd1d0a4032c429a7 (patch)
tree38f3bd0efc0c97ffe711afa19fcdb31d0f5d4d20 /make.sh
parenta197638e1f1292f3f01b17a0f4419d0180810927 (diff)
Prepped for releasev3.3.1
Diffstat (limited to 'make.sh')
-rwxr-xr-xmake.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make.sh b/make.sh
index fc920f3..132657a 100755
--- a/make.sh
+++ b/make.sh
@@ -22,7 +22,6 @@ function candz() {
D=${D}.exe
fi
go build -o $D ./cmd/gotop >> build.log 2>&1
- unset GOOS GOARCH GOARM CGO_ENABLED
if [[ $? -ne 0 ]]; then
printenv | grep GO >> build.log
echo "############### FAILED ###############" >> build.log
@@ -31,6 +30,7 @@ function candz() {
echo FAILED $OUT
return
fi
+ unset GOOS GOARCH GOARM CGO_ENABLED
cd build
zip $(basename $OUT) $(basename $D) >> ../build.log 2>&1
cd ..