Skip to content

Commit c1d1946

Browse files
committed
Update to go1.16.3
1 parent 951a51b commit c1d1946

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/github/git-sizer
22

3-
go 1.13
3+
go 1.16
44

55
require (
66
github.com/davecgh/go-spew v1.1.1 // indirect

script/ensure-go-installed.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ if [ -z "$ROOTDIR" ]; then
44
echo 1>&2 'ensure-go-installed.sh invoked without ROOTDIR set!'
55
fi
66

7-
# Is go installed, and at least 1.13?
7+
# Is go installed, and at least 1.16?
88
go_ok() {
99
set -- $(go version 2>/dev/null |
1010
sed -n 's/.*go\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1 \2/p' |
1111
head -n 1)
12-
[ $# -eq 2 ] && [ "$1" -eq 1 ] && [ "$2" -ge 13 ]
12+
[ $# -eq 2 ] && [ "$1" -eq 1 ] && [ "$2" -ge 16 ]
1313
}
1414

1515
# If a local go is installed, use it.
1616
set_up_vendored_go() {
17-
GO_VERSION=go1.13.4
17+
GO_VERSION=go1.16.3
1818
VENDORED_GOROOT="$ROOTDIR/vendor/$GO_VERSION/go"
1919
if [ -x "$VENDORED_GOROOT/bin/go" ]; then
2020
export GOROOT="$VENDORED_GOROOT"

script/install-vendored-go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/sh
22

33
# The checksums below must correspond to the downloads for this version.
4-
GO_VERSION=go1.13.4
4+
GO_VERSION=go1.16.3
55

66
if [ $(uname -s) = "Darwin" ]; then
77
GO_PKG=${GO_VERSION}.darwin-amd64.tar.gz
8-
GO_PKG_SHA=9f0721551a24a1eb43d2005cd58bd7b17574e50384b8da8896b0754259790752
8+
GO_PKG_SHA=f4e96bbcd5d2d1942f5b55d9e4ab19564da4fad192012f6d7b0b9b055ba4208f
99
elif [ $(uname -s) = "Linux" ]; then
1010
GO_PKG=${GO_VERSION}.linux-amd64.tar.gz
11-
GO_PKG_SHA=692d17071736f74be04a72a06dab9cac1cd759377bd85316e52b2227604c004c
11+
GO_PKG_SHA=951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2
1212
else
1313
echo 1>&2 "I don't know how to install Go on your platform."
1414
echo 1>&2 "Please install $GO_VERSION or later and add it to your PATH."

0 commit comments

Comments
 (0)