Skip to content

Commit

Permalink
Get correct tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Feb 16, 2020
1 parent 922fa16 commit 1b97cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release to PyPi

on:
release:
types: [created]
types: [published]

jobs:
deploy:
Expand All @@ -22,6 +22,6 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
echo $GITHUB_REF > pycircuitbreaker/VERSION
echo ${GITHUB_REF#refs/tags/} > pycircuitbreaker/VERSION
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit 1b97cfc

Please sign in to comment.