Skip to content

Commit

Permalink
fix: matching release branches (#10842)
Browse files Browse the repository at this point in the history
This was causing merges to master to override things published by
release branches.
  • Loading branch information
just-mitch authored Dec 18, 2024
1 parent 607dc4b commit 96ebc0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-aztec-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
- name: Publish aztec manifests
if: ${{ env.SHOULD_PUBLISH_DOCKER_IMAGES == 'true' }}
run: |
if [ "${{ github.ref_name }}" == "release/*" ]; then
if [[ "${{ github.ref_name }}" =~ ^release/ ]]; then
TAG="${{ github.ref_name }}"
VERSION="${TAG#release/}"
DIST_TAG=devnet
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
- name: Set tags and versions
id: version_step
run: |
if [ "${{ github.ref_name }}" == "release/*" ]; then
if [[ "${{ github.ref_name }}" =~ ^release/ ]]; then
DIST_TAG=devnet
TAG=${{ env.DEPLOY_TAG }}
VERSION=${TAG#aztec-packages-v}-devnet
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
- name: Publish aztec-up
working-directory: ./aztec-up/terraform
run: |
if [ "${{ github.ref_name }}" == "release/*" ]; then
if [[ "${{ github.ref_name }}" =~ ^release/ ]]; then
TAG="${{ github.ref_name }}"
VERSION="${TAG#release/}"
elif [ -n "${{ env.DEPLOY_TAG }}" ]; then
Expand Down

0 comments on commit 96ebc0c

Please sign in to comment.