File tree 5 files changed +6
-6
lines changed
dev-tools/vagrant_scripts
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [[ -z "${SETUP_MAGE_VERSION-""}" ]]; then
10
10
SETUP_MAGE_VERSION=" 1.15.0"
11
11
fi
12
12
if [[ -z " ${SETUP_GVM_VERSION-" " } " ]]; then
13
- SETUP_GVM_VERSION=" v0.5.0 " # https://github.com/andrewkroh/gvm/issues/44#issuecomment-1013231151
13
+ SETUP_GVM_VERSION=" v0.5.2 " # https://github.com/andrewkroh/gvm/issues/44#issuecomment-1013231151
14
14
fi
15
15
BEAT_VERSION=$( grep -oE ' [0-9]+\.[0-9]+\.[0-9]+(\-[a-zA-Z]+[0-9]+)?' " ${WORKSPACE} /version/version.go" )
16
16
export BEAT_VERSION
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ mkdir %WORKSPACE%\bin
14
14
IF EXIST " %PROGRAMFILES(X86)% " (
15
15
REM Force the gvm installation.
16
16
SET GVM_BIN = gvm.exe
17
- curl -L -o %WORKSPACE% \bin\gvm.exe https://github.com/andrewkroh/gvm/releases/download/v0.3.0 /gvm-windows-amd64.exe
17
+ curl -L -o %WORKSPACE% \bin\gvm.exe https://github.com/andrewkroh/gvm/releases/download/v0.5.2 /gvm-windows-amd64.exe
18
18
IF ERRORLEVEL 1 (
19
19
REM gvm installation has failed.
20
20
del bin\gvm.exe /s /f /q
21
21
exit /b 1
22
22
)
23
23
) ELSE (
24
24
REM Windows 7 workers got a broken gvm installation.
25
- curl -L -o %WORKSPACE% \bin\gvm.exe https://github.com/andrewkroh/gvm/releases/download/v0.3.0 /gvm-windows-386.exe
25
+ curl -L -o %WORKSPACE% \bin\gvm.exe https://github.com/andrewkroh/gvm/releases/download/v0.5.2 /gvm-windows-386.exe
26
26
IF ERRORLEVEL 1 (
27
27
REM gvm installation has failed.
28
28
del bin\gvm.exe /s /f /q
Original file line number Diff line number Diff line change 35
35
echo " UNMET DEP: Installing Go"
36
36
mkdir -p " ${HOME} /bin"
37
37
38
- curl -sSLo " ${GVM_CMD} " " https://github.com/andrewkroh/gvm/releases/download/v0.3.0 /gvm-${OS} -${GVM_ARCH_SUFFIX} "
38
+ curl -sSLo " ${GVM_CMD} " " https://github.com/andrewkroh/gvm/releases/download/v0.5.2 /gvm-${OS} -${GVM_ARCH_SUFFIX} "
39
39
chmod +x " ${GVM_CMD} "
40
40
41
41
${GVM_CMD} " ${GO_VERSION} " | cut -d ' ' -f 2| tr -d ' \"' > ${PROPERTIES_FILE}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function gvmProvision () {
12
12
echo " in gvmProvision: $ARCH / $OS "
13
13
mkdir -p ~ /bin
14
14
if [ ! -e " ~/bin/gvm" ]; then
15
- curl -sL -o ~ /bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.3.0 /gvm-$OS -$ARCH
15
+ curl -sL -o ~ /bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.2 /gvm-$OS -$ARCH
16
16
chmod +x ~ /bin/gvm
17
17
~ /bin/gvm $GO_VERSION
18
18
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)) {
13
13
if (-Not (Get-Command " gvm" - ErrorAction SilentlyContinue)) {
14
14
echo " Installing gvm to manage go version"
15
15
[Net.ServicePointManager ]::SecurityProtocol = " tls12"
16
- Invoke-WebRequest - URI https:// github.com / andrewkroh/ gvm/ releases/ download/ v0.3.0 / gvm-windows-amd64.exe - Outfile C:\\Windows\\System32\\gvm.exe
16
+ Invoke-WebRequest - URI https:// github.com / andrewkroh/ gvm/ releases/ download/ v0.5.2 / gvm-windows-amd64.exe - Outfile C:\\Windows\\System32\\gvm.exe
17
17
C:\\Windows\\System32\\gvm.exe -- format= powershell $go_version | Invoke-Expression
18
18
go version
19
19
You can’t perform that action at this time.
0 commit comments