From b69bcf53d692c9168d622c1fbc9c0cf39fdad572 Mon Sep 17 00:00:00 2001 From: Alessandro Arzilli Date: Wed, 24 Nov 2021 22:44:49 +0100 Subject: [PATCH] _scripts: fix test_linux.sh version check (#2785) The version check to disable the buildvcs option is wrong, it doesn't matter now but it will start failing when 1.18.1 is released. --- _scripts/test_linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_scripts/test_linux.sh b/_scripts/test_linux.sh index 3fe0c1fd..846f733e 100755 --- a/_scripts/test_linux.sh +++ b/_scripts/test_linux.sh @@ -57,7 +57,7 @@ cd delve # with the current VCS revision, which does not work with TeamCity if [ "$version" = "gotip" ]; then export GOFLAGS=-buildvcs=false -elif [ ${version:4} -gt 17 ]; then +elif [ ${version:4:2} -gt 17 ]; then export GOFLAGS=-buildvcs=false fi