Skip to content

Commit 1d7663e

Browse files
authored
CI: fix release workflow
1 parent 76f03ad commit 1d7663e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,17 @@ jobs:
1515
name: create-release
1616
runs-on: ubuntu-latest
1717
steps:
18+
- name: Get the release version from the tag
19+
shell: bash
20+
run: |
21+
echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
22+
echo "release version is: ${{ env.RELEASE_VERSION }}"
1823
- name: Checkout
1924
uses: actions/checkout@v6
2025
- name: Release
2126
uses: softprops/action-gh-release@v2
27+
outputs:
28+
version: ${{ env.VERSION }}
2229

2330
build-release:
2431
name: Build release

0 commit comments

Comments
 (0)