File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
module github.com/github/git-sizer
2
2
3
- go 1.13
3
+ go 1.16
4
4
5
5
require (
6
6
github.com/davecgh/go-spew v1.1.1 // indirect
Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ if [ -z "$ROOTDIR" ]; then
4
4
echo 1>&2 ' ensure-go-installed.sh invoked without ROOTDIR set!'
5
5
fi
6
6
7
- # Is go installed, and at least 1.13 ?
7
+ # Is go installed, and at least 1.16 ?
8
8
go_ok () {
9
9
set -- $( go version 2> /dev/null |
10
10
sed -n ' s/.*go\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1 \2/p' |
11
11
head -n 1)
12
- [ $# -eq 2 ] && [ " $1 " -eq 1 ] && [ " $2 " -ge 13 ]
12
+ [ $# -eq 2 ] && [ " $1 " -eq 1 ] && [ " $2 " -ge 16 ]
13
13
}
14
14
15
15
# If a local go is installed, use it.
16
16
set_up_vendored_go () {
17
- GO_VERSION=go1.13.4
17
+ GO_VERSION=go1.16.3
18
18
VENDORED_GOROOT=" $ROOTDIR /vendor/$GO_VERSION /go"
19
19
if [ -x " $VENDORED_GOROOT /bin/go" ]; then
20
20
export GOROOT=" $VENDORED_GOROOT "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
# The checksums below must correspond to the downloads for this version.
4
- GO_VERSION=go1.13.4
4
+ GO_VERSION=go1.16.3
5
5
6
6
if [ $( uname -s) = " Darwin" ]; then
7
7
GO_PKG=${GO_VERSION} .darwin-amd64.tar.gz
8
- GO_PKG_SHA=9f0721551a24a1eb43d2005cd58bd7b17574e50384b8da8896b0754259790752
8
+ GO_PKG_SHA=f4e96bbcd5d2d1942f5b55d9e4ab19564da4fad192012f6d7b0b9b055ba4208f
9
9
elif [ $( uname -s) = " Linux" ]; then
10
10
GO_PKG=${GO_VERSION} .linux-amd64.tar.gz
11
- GO_PKG_SHA=692d17071736f74be04a72a06dab9cac1cd759377bd85316e52b2227604c004c
11
+ GO_PKG_SHA=951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2
12
12
else
13
13
echo 1>&2 " I don't know how to install Go on your platform."
14
14
echo 1>&2 " Please install $GO_VERSION or later and add it to your PATH."
You can’t perform that action at this time.
0 commit comments