Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JaWarrior12 authored Mar 20, 2024
1 parent f60695c commit 8768b8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
publish-to-pypi-tagUpdate:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags/prod-*') # only publish to PyPI on tag pushes Ex. prod-v1.0.0-alpha.10
if: startsWith(github.event.ref, 'refs/tags/') # only publish to PyPI on tag pushes Ex. prod-v1.0.0-alpha.10
needs:
- build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
publish-to-testpypi:
name: Publish Python 🐍 distribution 📦 to TestPyPI
if: startsWith(github.event.ref, 'refs/tags/test-*') # only publish to Test PyPI on tag pushes Ex. test-v1.0.0-alpha.10
#if: startsWith(github.ref, 'refs/tags/') # only publish to Test PyPI on tag pushes Ex. test-v1.0.0-alpha.10
needs:
- build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8768b8f

Please sign in to comment.