We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5af5df commit 3a9696dCopy full SHA for 3a9696d
scripts/update_vertexai_responses.sh
@@ -27,9 +27,9 @@ git clone "$REPO_LINK" --quiet || exit
27
cd "$REPO_NAME" || exit
28
29
# Find and checkout latest tag matching major version
30
-TAG=$(git tag --sort=v:refname | grep "$RESPONSES_VERSION" | tail -n1)
+TAG=$(git tag -l "$RESPONSES_VERSION" --sort=v:refname | tail -n1)
31
if [ -z "$TAG" ]; then
32
- echo "Error: No matching tag found in $REPO_NAME"
+ echo "Error: No tag matching '$RESPONSES_VERSION' found in $REPO_NAME"
33
exit
34
fi
35
git checkout "$TAG" --quiet
0 commit comments