Skip to content

Commit 54c3012

Browse files
Fix go version in the hack/ensure-go.sh script (#875)
Co-authored-by: Manjunath A Kumatagi <[email protected]>
1 parent 04c4e7e commit 54c3012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/ensure-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ EOF
3131
local go_version
3232
IFS=" " read -ra go_version <<< "$(go version)"
3333
local minimum_go_version
34-
minimum_go_version=go1.16.0
34+
minimum_go_version=go1.18.0
3535
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
3636
cat <<EOF
3737
Detected go version: ${go_version[*]}.

0 commit comments

Comments
 (0)