From: Cherry Mui Date: Fri, 11 Feb 2022 19:31:30 +0000 (+0000) Subject: [dev.boringcrypto] misc/boring: use go install cmd@latest for installing command X-Git-Tag: go1.19beta1~484^2~25 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8521d1ea346212bcdabe15b4e157b3a2f2ca95f4;p=gostls13.git [dev.boringcrypto] misc/boring: use go install cmd@latest for installing command "go get cmd" is deprecated. Change-Id: I2242764c79b5e4c3ff94e5323d6504b596bdc9e2 Reviewed-on: https://go-review.googlesource.com/c/go/+/385197 Trust: Cherry Mui Reviewed-by: Heschi Kreinick Reviewed-by: Dmitri Shuralyov Run-TryBot: Cherry Mui TryBot-Result: Gopher Robot --- diff --git a/misc/boring/build.release b/misc/boring/build.release index 46922c913f..f421b12206 100755 --- a/misc/boring/build.release +++ b/misc/boring/build.release @@ -59,9 +59,7 @@ echo >&2 # Build the release tool in a temporary directory. dir=$(mktemp -d) trap "rm -rf $dir" EXIT -export GO111MODULE=on -export GOBIN="$dir" -(cd "$dir"; go get golang.org/x/build/cmd/release) +GOBIN="$dir" go install golang.org/x/build/cmd/release@latest # Build the release. sha() {