Update python-publish.yml

This commit is contained in:
Andros Fenollosa 2022-11-09 13:08:01 +01:00 committed by GitHub
parent 081f884870
commit 6f4d5d04d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,8 @@ jobs:
run: |
python3 -m pip install --upgrade pip
pip3 install twine
- name: Add version
run: sed -i 's/VERSION/${{github.ref_name}}/g' setup.py
- name: Build package
run: python3 setup.py sdist bdist_wheel
- name: Publish package