build: Add go 1.19 to allowed versions (#43)

This should close issue #42

Reviewed-on: https://git.mills.io/prologic/tube/pulls/43
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
This commit is contained in:
Heinrich 'Henrik' Langos 2023-01-04 11:34:52 +00:00 committed by James Mills
parent c0138ec10e
commit d0727c2187

View file

@ -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[78](\.[0-9]+)?' > /dev/null; then
if ! go version | grep -E 'go1\.1[789](\.[0-9]+)?' > /dev/null; then
log2 "Go 1.17+ is required, found ${gover}"
return 1
fi