Skip to content

Commit

Permalink
Fix go version in the hack/ensure-go.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
mkumatag committed Sep 16, 2022
1 parent b25a65d commit 518f567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/ensure-go.sh
Expand Up @@ -31,7 +31,7 @@ EOF
local go_version
IFS=" " read -ra go_version <<< "$(go version)"
local minimum_go_version
minimum_go_version=go1.16.0
minimum_go_version=go1.18.0
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
cat <<EOF
Detected go version: ${go_version[*]}.
Expand Down

0 comments on commit 518f567

Please sign in to comment.