Skip to content

Commit eb70842

Browse files
author
Venkatesh Prasad
committed
Support go version 1.22
*** Provide support for go versions > 1.20 in `scripts/build`
1 parent 5aa12bc commit eb70842

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function precheck() {
8484
ok=1
8585
fi
8686

87-
if ! go version | egrep -q 'go(1\.1[6789])|go(1\.2[0])' ; then
87+
if ! go version | egrep -q 'go(1\.1[6789])|go(1\.2[0-9])' ; then
8888
echo "go version must be 1.16 or above"
8989
ok=1
9090
fi

script/ensure-go-installed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
PREFERRED_GO_VERSION=go1.20.3
4-
SUPPORTED_GO_VERSIONS='go1.1[6789]|go1.2[01]'
4+
SUPPORTED_GO_VERSIONS='go1.1[6789]|go1.2[0-9]'
55

66
export ROOTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
77
cd $ROOTDIR

0 commit comments

Comments
 (0)