Skip to content

Commit

Permalink
Fix go version in the hack/ensure-go.sh script (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkumatag authored Sep 16, 2022
1 parent 18348d2 commit 61bfad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/ensure-go.sh
Original file line number Diff line number Diff line change
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 61bfad5

Please sign in to comment.