From 24741a042f1c354c9cfbf14d844398f8903a86bf Mon Sep 17 00:00:00 2001 From: spypsy Date: Wed, 13 Nov 2024 16:10:44 +0000 Subject: [PATCH] fix: include 'master' version for aztec-up scripts --- .github/workflows/publish-aztec-packages.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-aztec-packages.yml b/.github/workflows/publish-aztec-packages.yml index 7369207ab0d..ad2d5b355d3 100644 --- a/.github/workflows/publish-aztec-packages.yml +++ b/.github/workflows/publish-aztec-packages.yml @@ -322,7 +322,11 @@ jobs: working-directory: ./aztec-up/terraform run: | terraform init - TAG=${{ env.DEPLOY_TAG }} + if [ "${{ github.ref_name }}" == "master" ]; then + TAG=master + else + TAG=${{ env.DEPLOY_TAG }} + fi export TF_VAR_VERSION=${TAG#aztec-packages-v} terraform apply -auto-approve