File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
dev-tools/vagrant_scripts Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [[ -z "${WORKSPACE-""}" ]]; then
77 export WORKSPACE
88fi
99if [[ -z " ${SETUP_GVM_VERSION-" " } " ]]; then
10- SETUP_GVM_VERSION=" v0.5.2 " # https://github.com/andrewkroh/gvm/issues/44#issuecomment-1013231151
10+ SETUP_GVM_VERSION=" v0.6.0 " # https://github.com/andrewkroh/gvm/issues/44#issuecomment-1013231151
1111fi
1212
1313if [[ -z " ${BEAT_VERSION-" " } " ]]; then
7474 mkdir -p " ${_bin} "
7575 retry 5 curl -sL -o " ${_bin} /gvm" " https://github.com/andrewkroh/gvm/releases/download/${SETUP_GVM_VERSION} /gvm-${AGENT_OS_NAME} -${AGENT_OS_ARCH} "
7676 chmod +x " ${_bin} /gvm"
77- eval " $( command " ${_bin} /gvm" --url=https://go.dev/dl " ${GO_VERSION} " ) "
77+ eval " $( command " ${_bin} /gvm" " ${GO_VERSION} " ) "
7878 export GOPATH=$( command go env GOPATH)
7979 export PATH=" ${PATH} :${GOPATH} /bin"
8080 fi
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function gvmProvision () {
1212 echo " in gvmProvision: $ARCH / $OS "
1313 mkdir -p ~ /bin
1414 if [ ! -e " ~/bin/gvm" ]; then
15- curl -sL -o ~ /bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.2 /gvm-$OS -$ARCH
15+ curl -sL -o ~ /bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.6.0 /gvm-$OS -$ARCH
1616 chmod +x ~ /bin/gvm
1717 ~ /bin/gvm $GO_VERSION
1818 echo ' export GOPATH=$HOME/go' >> ~ /.bash_profile
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if (-Not (Test-Path $gopath_beats)) {
1313if (-Not (Get-Command " gvm" - ErrorAction SilentlyContinue)) {
1414 echo " Installing gvm to manage go version"
1515 [Net.ServicePointManager ]::SecurityProtocol = " tls12"
16- Invoke-WebRequest - URI https:// github.com / andrewkroh/ gvm/ releases/ download/ v0.5.2 / gvm-windows-amd64.exe - Outfile C:\\Windows\\System32\\gvm.exe
16+ Invoke-WebRequest - URI https:// github.com / andrewkroh/ gvm/ releases/ download/ v0.6.0 / gvm-windows-amd64.exe - Outfile C:\\Windows\\System32\\gvm.exe
1717 C:\\Windows\\System32\\gvm.exe -- format= powershell $go_version | Invoke-Expression
1818 go version
1919
You can’t perform that action at this time.
0 commit comments