From ab4bf5ea68975e16fc22162e5eefe1026b795013 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Mon, 9 Dec 2024 22:45:19 +0100 Subject: [PATCH] Fix extraction of release tag in publish workflow --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 87f98b4fe2bb..d5f33bee1315 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -693,6 +693,10 @@ jobs: - name: Add SBT proxy repositories run: cp -vf .github/workflows/repositories /root/.sbt/ ; true + # Extract the release tag + - name: Extract the release tag + run : echo "RELEASE_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV + - name: Check compiler version shell: bash run : | @@ -707,7 +711,6 @@ jobs: run: | ./project/scripts/sbt dist/packArchive sha256sum dist/target/scala3-* > dist/target/sha256sum.txt - echo "RELEASE_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV - name: Create GitHub Release id: create_gh_release