diff --git a/.github/workflows/publish-aztec-packages.yml b/.github/workflows/publish-aztec-packages.yml index ade937c872e0..c14ebb211fe6 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 @@ -346,7 +346,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