diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe38506..434d95c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: