Fix preflight checks to support Go 1.19

pull/990/head
James Mills 1 week ago
parent 5bbf89d422
commit 93f87d8cb0
Signed by: prologic
GPG Key ID: AC4C014F1440EBD6
  1. 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\.1[678](\.[0-9]+)?' > /dev/null; then
if ! go version | grep -E 'go1\.1[6789](\.[0-9]+)?' > /dev/null; then
log2 "Go 1.16+ is required, found ${gover}"
return 1
fi

Loading…
Cancel
Save