Skip to content

Commit d2c2b42

Browse files
committed
Calls out that each commit triggers a TestPyPI release
1 parent 26d56d0 commit d2c2b42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/python-package.yml

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ jobs:
8585

8686
cd:
8787
needs: ci
88+
# Note: github.event.pull_request.draft == false WON'T WORK in "if" statement,
89+
# because the triggered event is a push, not a pull_request.
90+
# This means each commit will trigger a release on TestPyPI.
91+
# Those releases will only succeed when each push has a new version number: a1, a2, a3, etc.
8892
if: |
8993
github.event_name == 'push' &&
9094
(

0 commit comments

Comments
 (0)