Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ihrke committed Jul 1, 2020
1 parent 89484d9 commit 1b17863
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Update version with latest tag
run: git describe --tags > VERSION
- name: Commit new VERSION file
uses: EndBug/add-and-commit@v4
with:
message: "update version"
add: "VERSION"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
Expand Down

0 comments on commit 1b17863

Please sign in to comment.