Skip to content

Commit

Permalink
Merge pull request #367 from apigee/semver_fix
Browse files Browse the repository at this point in the history
feat: adds support for patches #366
  • Loading branch information
ssvaidyanathan authored Dec 19, 2023
2 parents 95e573c + 7b323ab commit 9510774
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
push:
# Publish semver tags as releases.
tags:
- v[0-1].[0-9]+
- v[0-1].[0-9]+.[0-9]
- v[0-1].[0-9]+.[0-9]+-beta
workflow_dispatch:

Expand Down Expand Up @@ -107,4 +107,4 @@ jobs:
env:
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
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
4 changes: 2 additions & 2 deletions .github/workflows/gorelease-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ on:
push:
# Publish semver tags as releases.
tags:
- v1.[0-9]+
- v1.[0-9]+.[0-9]+-beta
- v[0-1].[0-9]+.[0-9].[0-9]
- v[0-1].[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]' | 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 9510774

Please sign in to comment.