Skip to content

Commit

Permalink
Merge pull request #11 from qtacore/feature/fix_upload_pypi_bug
Browse files Browse the repository at this point in the history
get release version
  • Loading branch information
hellertang authored Mar 23, 2021
2 parents 8e81045 + 8a93df0 commit 2888ee0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
echo ${{ github.ref }} > version.txt
release = ${{ github.ref }}
echo ${release: 10} > version.txt
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit 2888ee0

Please sign in to comment.