Skip to content

Commit 9292fd9

Browse files
committed
fix: tag name
1 parent 285aa5b commit 9292fd9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,16 @@ jobs:
6262
done
6363
cd ..
6464
65+
- name: Extract tag name
66+
id: get_version
67+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
68+
6569
- name: Release
6670
uses: softprops/action-gh-release@v1
6771
if: startsWith(github.ref, 'refs/tags/')
6872
with:
6973
fail_on_unmatched_files: true
7074
files: |
7175
release_assets/*.zip
72-
name: Release ${{ replace(github.ref, 'refs/tags/', '') }}
76+
name: Release ${{ steps.get_version.outputs.VERSION }}
7377
tag_name: ${{ github.ref }}

0 commit comments

Comments
 (0)