Skip to content

Commit 26bc92b

Browse files
authored
Use github.event.release.tag_name instead of github.ref (#248)
1 parent 54a27f2 commit 26bc92b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ jobs:
3232
run: make install-poetry
3333

3434
- name: 🔢 Set version number
35-
run: |
36-
export version=${{ github.ref }}
37-
poetry version "${version##*/}"
35+
run: poetry version "${{ github.event.release.tag_name }}"
3836

3937
- name: 🛠 Build
4038
run: poetry build --no-interaction

0 commit comments

Comments
 (0)