Skip to content

Commit a04387a

Browse files
committed
update workflow
1 parent b8b1c9b commit a04387a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
publish-to-pypi:
2929
name: >-
3030
Publish Python 🐍 distribution 📦 to PyPI
31-
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
31+
#if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
32+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
3233
runs-on: ubuntu-latest
3334
environment:
3435
name: pypi

0 commit comments

Comments
 (0)