From 15019f97eb1b4041859582b8b6f39fe432b603af Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Mon, 5 Feb 2024 16:04:17 +0100 Subject: [PATCH] Fix workflow --- .github/workflows/build-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 1b0ce5363..39b7cf8f3 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -36,10 +36,11 @@ jobs: # Store the version, stripping any v-prefix - name: Write release version run: | + TAG=${{ github.ref_name }} { - echo "TAG=${{ github.ref_name }}" - echo "VERSION=${TAG#v}" + echo "TAG=$TAG" echo "COMPOSER_VERSION=$(composer config version)" + echo "VERSION=${TAG#v}" } >> "$GITHUB_ENV" - name: Validate composer.json and composer.lock -- GitLab