Set GOPATH for the entire script

pull/6501/head
tstromberg 2020-02-05 10:18:17 -08:00
parent 9854e3067f
commit 4776bb7a2d
1 changed files with 3 additions and 3 deletions

View File

@ -35,11 +35,11 @@ grep -E "^VERSION_MAJOR \\?=" Makefile | grep "${VERSION_MAJOR}"
grep -E "^VERSION_MINOR \\?=" Makefile | grep "${VERSION_MINOR}"
grep -E "^VERSION_BUILD \\?=" Makefile | grep "${VERSION_BUILD}"
# Diagnostics
go env GOPATH
# Force go packages to the Jekins home directory
export GOPATH=$HOME/go
# Build and upload
env GOPATH=$HOME/go BUILD_IN_DOCKER=y \
env BUILD_IN_DOCKER=y \
make -j 16 \
all \
out/minikube-installer.exe \