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:
parent
c0138ec10e
commit
d0727c2187
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ check_goversion() {
|
||||||
|
|
||||||
gover="$(go version | grep -o -E 'go[0-9]+\.[0-9]+(\.[0-9]+)?')"
|
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}"
|
log2 "Go 1.17+ is required, found ${gover}"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue