From 6ceb2ff114de128261f48ccad75ed0ee329bd1cf Mon Sep 17 00:00:00 2001 From: Cody Oss <6331106+codyoss@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:44:15 -0600 Subject: [PATCH] chore: make vet script less error prone (#1091) --- 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 da460428c..33697068f 100755 --- a/internal/kokoro/vet.sh +++ b/internal/kokoro/vet.sh @@ -6,7 +6,7 @@ set -eo # Display commands being run set -x -if [[ $(go version) != *"go1.22"* ]]; then +if [[ $KOKORO_JOB_NAME != *"latest-version"* ]]; then exit 0 fi