Skip to content

Commit

Permalink
Only update to TestPyPI from the master branch
Browse files Browse the repository at this point in the history
Our "pre-release versions" do not have globally unique names
  • Loading branch information
mstimberg committed Feb 15, 2021
1 parent cf86f02 commit 6f1172f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
CIBW_TEST_COMMAND: python {project}/dev/continuous-integration/run_simple_test.py
CIBW_TEST_REQUIRES: pytest
- name: Publish distribution 📦 to Test PyPI
if: ${{ ! startsWith(github.ref, 'refs/tags') }}
if: github.ref == 'refs/heads/master'
run: |
pip install twine
twine upload -r testpypi dist/*
Expand Down

0 comments on commit 6f1172f

Please sign in to comment.