Skip to content

Commit

Permalink
feat: always use three digits #366
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Dec 19, 2023
1 parent 979d4f8 commit a3a2eae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ on:
push:
# Publish semver tags as releases.
tags:
- v[0-1].[0-9]+
- v[0-1].[0-9]+.[1-9]
- v[0-1].[0-9]+.[0-9]
- v[0-1].[0-9]+.[0-9]+-beta
workflow_dispatch:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
push:
# Publish semver tags as releases.
tags:
- v[0-1].[0-9]+
- v[0-1].[0-9]+.[0-9]
workflow_dispatch:

jobs:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/gorelease-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ on:
push:
# Publish semver tags as releases.
tags:
- v[0-1].[0-9]+
- v1.[0-9]+.[1-9]
- v1.[0-9]+.[0-9]+-beta
- v1.[0-9]+.[0-9].[0-9]
- v1.[0-9]+.[0-9].[0-9]+-beta
workflow_dispatch:

jobs:
Expand Down
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 -o 'v[0-9].[0-9][0-9][0-9].[0-9]' | tail -1)"
APIGEECLI_VERSION="${APIGEECLI_VERSION##*/}"
fi

Expand Down

0 comments on commit a3a2eae

Please sign in to comment.