Skip to content

Commit 4a7b61f

Browse files
committed
Fix pipeline
1 parent 85bc283 commit 4a7b61f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
id: versioner
3838
run: |
3939
if [[ ${{ github.event_name }} == 'release' ]]; then
40-
version="${github.ref##*/}"
40+
version="${{ github.ref }}"
41+
version="${version##*/}"
4142
version="${version/[^0-9.]/}"
4243
else
4344
version="0.0.${{ github.run_number }}"

0 commit comments

Comments
 (0)