From d0727c2187290f22b498f20da2c0b6f2cee1f444 Mon Sep 17 00:00:00 2001 From: Heinrich 'Henrik' Langos Date: Wed, 4 Jan 2023 11:34:52 +0000 Subject: [PATCH] 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 Co-committed-by: Heinrich 'Henrik' Langos --- preflight.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preflight.sh b/preflight.sh index f3b75f8..06e43c1 100755 --- a/preflight.sh +++ b/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[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