mirror of
https://github.com/golang/go.git
synced 2025-12-28 06:34:04 +00:00
[dev.boringcrypto.go1.16] 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 <cherryyz@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
(cherry picked from commit 8521d1ea34)
Reviewed-on: https://go-review.googlesource.com/c/go/+/385235
This commit is contained in:
parent
e90b835f30
commit
7e420ce576
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user