Skip to content

Commit

Permalink
test: check mod version when no Go files in root (#3955)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Apr 19, 2021
1 parent eb2ed0d commit 3286465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/kokoro/build_samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ goVersionShouldSkip() {
return 1
fi

go list -f "{{context.ReleaseTags}}" | grep -q -v "go$modVersion\b"
go list -f "{{context.ReleaseTags}}" ./... | grep -q -v "go$modVersion\b"
}

# For each module, build the code with local google-cloud-go changes.
Expand Down

0 comments on commit 3286465

Please sign in to comment.