From 56745fc622855c9dbd8c4a597d266a389e75e92c Mon Sep 17 00:00:00 2001 From: Hans Scharler Date: Thu, 31 Oct 2024 16:05:59 -0400 Subject: [PATCH] Update python-publish.yml --- .github/workflows/python-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: