From 96ebc0cf40daee61644471369161fb7438c72431 Mon Sep 17 00:00:00 2001 From: just-mitch <68168980+just-mitch@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:43:51 -0500 Subject: [PATCH] fix: matching release branches (#10842) This was causing merges to master to override things published by release branches. --- .github/workflows/publish-aztec-packages.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-aztec-packages.yml b/.github/workflows/publish-aztec-packages.yml index 9da6aad1589..9ef92456560 100644 --- a/.github/workflows/publish-aztec-packages.yml +++ b/.github/workflows/publish-aztec-packages.yml @@ -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 @@ -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 @@ -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