We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22168f8 commit f820bb3Copy full SHA for f820bb3
.github/workflows/release.yml
@@ -26,9 +26,11 @@ jobs:
26
run: |
27
pip install Cython
28
pip install wheel
29
- python setup.py bdist_wheel
+ tag=${{ github.ref_name }}
30
+ ver=${tag:1}
31
+ RELEASE_VERSION=$ver python setup.py bdist_wheel
32
33
- name: Publish distribution to pypi repo
34
35
pip install twine
- twine upload dist/* -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASSWORD }} --repository pypi
36
+ twine upload dist/* -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASSWORD }} --repository pypi
0 commit comments