Skip to content

Commit

Permalink
Use github.event.release.tag_name instead of github.ref (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Nov 3, 2023
1 parent 3f9010e commit 359a506
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
run: make install-poetry

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

- name: 🚀 Publish to PyPi
env:
Expand Down

0 comments on commit 359a506

Please sign in to comment.