Skip to content

Commit 56745fc

Browse files
committed
Update python-publish.yml
1 parent a539d77 commit 56745fc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/python-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
python -m pip install --upgrade pip
3232
pip install build
3333
- name: Build package
34-
run: python -m build
34+
env:
35+
RELEASE_VERSION: ${{ github.event.release.tag_name }}
36+
run: python -m build --outdir dist --version $RELEASE_VERSION
3537
- name: Publish package
3638
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3739
with:

0 commit comments

Comments
 (0)