From 18b076fedc044bda76106594e2a94d01ccd85c4b Mon Sep 17 00:00:00 2001 From: Cameron Koegel <53310569+ckoegel@users.noreply.github.com> Date: Wed, 1 Jul 2026 13:13:48 -0400 Subject: [PATCH] SWI-11591 Update Tag Logic in Deploy WF --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5b5d810..2044ecd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Set Release Version run: | - RELEASE_VERSION=${GITHUB_REF#refs/tags/v} + RELEASE_VERSION=${TAG#v} if [[ $RELEASE_VERSION =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)?$ ]]; then echo "PACKAGE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV else @@ -45,6 +45,8 @@ jobs: echo 'Please update your tag to match the expected regex pattern' exit 1 fi + env: + TAG: ${{ github.event.release.tag_name }} - name: Checkout uses: actions/checkout@v6