Skip to content

Commit

Permalink
Publish wheels only on tags starting with '0.'
Browse files Browse the repository at this point in the history
  • Loading branch information
ynouri committed Dec 19, 2020
1 parent 080ae20 commit f43b903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cpython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
path: dist/python_snappy*-manylinux1*.whl

- name: Publish wheels to PyPI
if: github.ref == 'refs/heads/master'
if: startsWith(github.ref, 'refs/tags/0.')
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
Expand Down

0 comments on commit f43b903

Please sign in to comment.