From 11be8482d08895b126e1703cd2c15a419ddd7628 Mon Sep 17 00:00:00 2001 From: Cody Oss Date: Tue, 27 Feb 2024 16:15:21 -0600 Subject: [PATCH] chore: make vet script less error prone --- internal/kokoro/vet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/kokoro/vet.sh b/internal/kokoro/vet.sh index 865eaa5ec9..1305a84ad0 100755 --- a/internal/kokoro/vet.sh +++ b/internal/kokoro/vet.sh @@ -7,7 +7,7 @@ # Fail on error, and display commands being run. set -ex -if [[ $(go version) != *"go1.22"* ]]; then +if [[ $KOKORO_JOB_NAME != *"latest-version"* ]]; then exit 0 fi