From 3e6c0a9060350e12ae40666661e6f7030d19a4c4 Mon Sep 17 00:00:00 2001 From: Aleksejs Sinicins Date: Tue, 19 Jul 2016 09:59:20 +0300 Subject: [PATCH] Fix build script --- build-aci.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-aci.sh b/build-aci.sh index 6e7b64c..335e6b9 100755 --- a/build-aci.sh +++ b/build-aci.sh @@ -1,9 +1,9 @@ #!/bin/sh -CGO_ENABLED=0 -GOOS=linux -GOARCH=amd64 -VERSION=0.0.1 +export CGO_ENABLED=0 +export GOOS=linux +export GOARCH=amd64 +export VERSION=v0.0.1 go build -ldflags '-extldflags "-static"' acbuild begin