From 52d27485cd3850298abecd8e0efa394daec7c019 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Wed, 28 Jan 2026 17:09:17 +1100 Subject: [PATCH] fix(ci): Add version and tagged release variables to release workflow (#1391) --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 543b7cc6..ef716e34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -170,6 +170,16 @@ jobs: needs: build if: success() || failure() steps: + - name: Set version variable + shell: bash + run: | + if [[ "${{ github.ref_type }}" == "tag" ]]; then + echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV + echo "TAGGED_RELEASE=true" >> $GITHUB_ENV + else + echo "VERSION=${GITHUB_SHA::7}" >> $GITHUB_ENV + echo "TAGGED_RELEASE=false" >> $GITHUB_ENV + fi - name: Release - Download binaries uses: actions/download-artifact@v4 with: