File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11module github.com/github/git-sizer
22
3- go 1.13
3+ go 1.16
44
55require (
66 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
44 echo 1>&2 ' ensure-go-installed.sh invoked without ROOTDIR set!'
55fi
66
7- # Is go installed, and at least 1.13 ?
7+ # Is go installed, and at least 1.16 ?
88go_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.
1616set_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 "
Original file line number Diff line number Diff line change 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
66if [ $( uname -s) = " Darwin" ]; then
77 GO_PKG=${GO_VERSION} .darwin-amd64.tar.gz
8- GO_PKG_SHA=9f0721551a24a1eb43d2005cd58bd7b17574e50384b8da8896b0754259790752
8+ GO_PKG_SHA=f4e96bbcd5d2d1942f5b55d9e4ab19564da4fad192012f6d7b0b9b055ba4208f
99elif [ $( uname -s) = " Linux" ]; then
1010 GO_PKG=${GO_VERSION} .linux-amd64.tar.gz
11- GO_PKG_SHA=692d17071736f74be04a72a06dab9cac1cd759377bd85316e52b2227604c004c
11+ GO_PKG_SHA=951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2
1212else
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."
You can’t perform that action at this time.
0 commit comments