Skip to content

Commit

Permalink
Use github.event.release.tag_name instead of github.ref (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Nov 3, 2023
1 parent 54a27f2 commit 26bc92b
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 @@ -32,9 +32,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: 🛠 Build
run: poetry build --no-interaction
Expand Down

0 comments on commit 26bc92b

Please sign in to comment.