diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index b7a704b..b3d40eb 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -31,7 +31,9 @@ jobs: python -m pip install --upgrade pip pip install build - name: Build package - run: python -m build + env: + RELEASE_VERSION: ${{ github.event.release.tag_name }} + run: python -m build --outdir dist --version $RELEASE_VERSION - name: Publish package uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: