Skip to content

Commit 51c555d

Browse files
authored
update create_release.yml (#31)
1 parent aa7bf70 commit 51c555d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/create_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434

3535
- name: get version
3636
id: get_version
37-
run: echo "::set-output name=version::$(${${{ steps.get_pushed_tag.outputs.TAG:1}}})"
37+
# strip the "v" from tag
38+
run: echo "::set-output name=version::$(echo ${{ steps.get_pushed_tag.outputs.TAG }} | tail -c+2)"
3839

3940
- name: Create Release
4041
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)