Skip to content

Commit ab4bf5e

Browse files
committed
Fix extraction of release tag in publish workflow
1 parent fa617ff commit ab4bf5e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,10 @@ jobs:
693693
- name: Add SBT proxy repositories
694694
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
695695

696+
# Extract the release tag
697+
- name: Extract the release tag
698+
run : echo "RELEASE_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV
699+
696700
- name: Check compiler version
697701
shell: bash
698702
run : |
@@ -707,7 +711,6 @@ jobs:
707711
run: |
708712
./project/scripts/sbt dist/packArchive
709713
sha256sum dist/target/scala3-* > dist/target/sha256sum.txt
710-
echo "RELEASE_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV
711714
712715
- name: Create GitHub Release
713716
id: create_gh_release

0 commit comments

Comments
 (0)