diff --git a/scripts/build-release.sh b/scripts/build-release.sh index 1d774e6..d0959ef 100755 --- a/scripts/build-release.sh +++ b/scripts/build-release.sh @@ -5,13 +5,13 @@ set -e SANDBOX=$(mktemp -d) echo "building linux..." -GOOS=linux go build -o $SANDBOX/autopilot-linux github.com/contraband/autopilot +CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o $SANDBOX/autopilot-linux github.com/contraband/autopilot echo "building os x..." -GOOS=darwin go build -o $SANDBOX/autopilot-darwin github.com/contraband/autopilot +CGO_ENABLED=0 GOARCH=amd64 GOOS=darwin go build -o $SANDBOX/autopilot-darwin github.com/contraband/autopilot echo "building windows..." -GOOS=windows go build -o $SANDBOX/autopilot.exe github.com/contraband/autopilot +CGO_ENABLED=0 GOARCH=amd64 GOOS=windows go build -o $SANDBOX/autopilot.exe github.com/contraband/autopilot echo