Skip to content

Commit

Permalink
Fix extraction of release tag in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Dec 9, 2024
1 parent fa617ff commit ab4bf5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 : |
Expand All @@ -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
Expand Down

0 comments on commit ab4bf5e

Please sign in to comment.