Update python-publish.yml
This commit is contained in:
parent
081f884870
commit
6f4d5d04d0
2
.github/workflows/python-publish.yml
vendored
2
.github/workflows/python-publish.yml
vendored
@ -30,6 +30,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
pip3 install twine
|
pip3 install twine
|
||||||
|
- name: Add version
|
||||||
|
run: sed -i 's/VERSION/${{github.ref_name}}/g' setup.py
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: python3 setup.py sdist bdist_wheel
|
run: python3 setup.py sdist bdist_wheel
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
|
Loading…
Reference in New Issue
Block a user