Skip to content

Commit e71671c

Browse files
mergify[bot]v1vkruskall
authored
deps: bump gvm dependency to 0.6.0 (#19201) (#19224)
it uses the official Go downloads API (cherry picked from commit f174347) Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com> Co-authored-by: kruskall <99559985+kruskall@users.noreply.github.com>
1 parent 759be64 commit e71671c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.buildkite/hooks/pre-command

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ GO_VERSION=$(grep '^go' go.mod | cut -d' ' -f2)
8686
WORKSPACE=$(git rev-parse --show-toplevel)
8787
export GO_VERSION WORKSPACE
8888
get_os_details
89-
retry 5 curl -sL -o ${WORKSPACE}/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.5.1/gvm-${OS_NAME}-${OS_ARCH}"
89+
retry 5 curl -sL -o ${WORKSPACE}/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-${OS_NAME}-${OS_ARCH}"
9090
chmod +x ${WORKSPACE}/gvm
91-
eval "$(${WORKSPACE}/gvm --url=https://go.dev/dl $GO_VERSION)"
91+
eval "$(${WORKSPACE}/gvm $GO_VERSION)"
9292
echo "Golang version:"
9393
go version
9494
GOPATH=$(command go env GOPATH)

.ci/scripts/bench.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ if [ "${CI}" == "true" ] ; then
173173
GO_VERSION=$(grep '^go' go.mod | cut -d' ' -f2)
174174
OS_NAME=linux
175175
OS_ARCH=amd64
176-
retry 5 curl -sL -o "${BASE_PROJECT}"/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-${OS_NAME}-${OS_ARCH}"
176+
retry 5 curl -sL -o "${BASE_PROJECT}"/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-${OS_NAME}-${OS_ARCH}"
177177
chmod +x "${BASE_PROJECT}"/gvm
178-
retry 5 "${BASE_PROJECT}"/gvm install --url=https://go.dev/dl "$GO_VERSION"
179-
eval "$("${BASE_PROJECT}"/gvm use --url=https://go.dev/dl "$GO_VERSION")"
178+
retry 5 "${BASE_PROJECT}"/gvm install "$GO_VERSION"
179+
eval "$("${BASE_PROJECT}"/gvm use "$GO_VERSION")"
180180
echo "Golang version:"
181181
go version
182182
GOPATH=$(command go env GOPATH)

0 commit comments

Comments
 (0)