Skip to content

Commit f7a4851

Browse files
authored
deps: bump gvm dependency to 0.6.0 (#10662) (#10679)
1 parent a121b2c commit f7a4851

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.buildkite/scripts/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [[ -z "${WORKSPACE-""}" ]]; then
77
export WORKSPACE
88
fi
99
if [[ -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
1111
fi
1212

1313
if [[ -z "${BEAT_VERSION-""}" ]]; then
@@ -74,7 +74,7 @@ go(){
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

dev-tools/vagrant_scripts/unixProvision.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

dev-tools/vagrant_scripts/winProvision.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (-Not (Test-Path $gopath_beats)) {
1313
if (-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

0 commit comments

Comments
 (0)