Browse Source

Fix preflight check for Go1.17

pull/500/head
James Mills 1 month ago
parent
commit
32fba38cfd
Signed by: prologic GPG Key ID: AC4C014F1440EBD6
  1. 2
      preflight.sh

2
preflight.sh

@ -75,7 +75,7 @@ check_goversion() {
gover="$(go version | grep -o -E 'go[0-9]+\.[0-9]+(\.[0-9]+)?')"
if ! go version | grep -E 'go1\.17\.[0-9]+' > /dev/null; then
if ! go version | grep -E 'go1\.17(\.[0-9]+)?' > /dev/null; then
log2 "Go 1.17 is required, found ${gover}"
return 1
fi

Loading…
Cancel
Save