From 84a83add516797ccb58a27c7c88c531d36323da5 Mon Sep 17 00:00:00 2001 From: Cody Oss <6331106+codyoss@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:40:16 -0600 Subject: [PATCH] chore: make vet script less error prone (#329) --- 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 f4e33573..cb4fa7c9 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