Skip to content

Commit

Permalink
bug: fixes downloadLatest script #398 (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan authored Feb 13, 2024
1 parent d7536c4 commit 71d63e5
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 apigeecli version by version number ignoring alpha, beta, and rc versions.
if [ "${APIGEECLI_VERSION}" = "" ] ; then
APIGEECLI_VERSION="$(curl -sL https://github.com/apigee/apigeecli/releases/latest | \
grep -i release | grep -o 'v[0-9].[0-9][0-9][0-9].[0-9]' | tail -1)"
grep -i release | grep -E -i -o 'v[0-9]\.\d+\.[0-9]' | tail -1)"
APIGEECLI_VERSION="${APIGEECLI_VERSION##*/}"
fi

Expand Down

0 comments on commit 71d63e5

Please sign in to comment.