Skip to content

Commit 6d1966a

Browse files
committed
Update preferred version checksums
PR github#966 updated the PREFERRED_GO_VERSION from go1.14.7 to go1.16.4 but didn't update the corresponding binary checksums. The checksums can be found at https://go.dev/dl/ Additionally, the package file inside has changed and requires updating.
1 parent 8f361f6 commit 6d1966a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script/ensure-go-installed

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ PREFERRED_GO_VERSION=go1.16.4
44
SUPPORTED_GO_VERSIONS='go1.1[56]'
55

66
GO_PKG_DARWIN=${PREFERRED_GO_VERSION}.darwin-amd64.pkg
7-
GO_PKG_DARWIN_SHA=0f215de06019a054a3da46a0722989986c956d719c7a0a8fc38a5f3c216d6f6b
7+
GO_PKG_DARWIN_SHA=9f9b940d0f4b3ac764f0a33d78384a87b804aab29d1aacbdc9bca3a3480e9272
88

99
GO_PKG_LINUX=${PREFERRED_GO_VERSION}.linux-amd64.tar.gz
10-
GO_PKG_LINUX_SHA=4a7fa60f323ee1416a4b1425aefc37ea359e9d64df19c326a58953a97ad41ea5
10+
GO_PKG_LINUX_SHA=7154e88f5a8047aad4b80ebace58a059e36e7e2e4eb3b383127a28c711b4ff59
1111

1212
export ROOTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
1313
cd $ROOTDIR
@@ -35,7 +35,7 @@ if [ -z "$(which go)" ] || [ -z "$(go version | grep "$SUPPORTED_GO_VERSIONS")"
3535
curl -L -O https://dl.google.com/go/$GO_PKG_DARWIN
3636
shasum -a256 $GO_PKG_DARWIN | grep $GO_PKG_DARWIN_SHA
3737
xar -xf $GO_PKG_DARWIN
38-
cpio -i < com.googlecode.go.pkg/Payload
38+
cpio -i < org.golang.go.pkg/Payload
3939
else
4040
curl -L -O https://dl.google.com/go/$GO_PKG_LINUX
4141
shasum -a256 $GO_PKG_LINUX | grep $GO_PKG_LINUX_SHA

0 commit comments

Comments
 (0)