Skip to content

Commit

Permalink
handle semver
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Feb 13, 2024
1 parent ad56566 commit 2239276
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 -v beta | grep -o 'v[0-9]\.[0-9]*' | head -1)"
grep -i release | grep -o 'v[0-9].[0-9][0-9]([0-9])?(.[0-9])?' | head -1)"
INTEGRATIONCLI_VERSION="${INTEGRATIONCLI_VERSION##*/}"
fi

Expand Down

0 comments on commit 2239276

Please sign in to comment.