Skip to content

Commit

Permalink
Merge pull request #177 from GoogleCloudPlatform/issue176
Browse files Browse the repository at this point in the history
bug: fixes downloadLatest script #176
  • Loading branch information
ssvaidyanathan authored Feb 13, 2024
2 parents 27fa4f5 + 5e2e6f3 commit aec3f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion downloadLatest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi
# Determine the latest INTEGRATIONCLI version by version number ignoring alpha, beta, and rc versions.
if [ "${INTEGRATIONCLI_VERSION}" = "" ] ; then
INTEGRATIONCLI_VERSION="$(curl -sL https://github.com/GoogleCloudPlatform/application-integration-management-toolkit/releases/latest | \
grep -i release | grep -o 'v[0-9].[0-9][0-9][0-9].[0-9]' | head -1)"
grep -i release | grep -E -i -o 'v[0-9]\.\d+\.[0-9]' | tail -1)"
INTEGRATIONCLI_VERSION="${INTEGRATIONCLI_VERSION##*/}"
fi

Expand Down

0 comments on commit aec3f57

Please sign in to comment.