diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf6ad48..7ae6719 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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