Skip to content

Commit 65ead80

Browse files
authored
alter release trigger
1 parent 08f586d commit 65ead80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-build-test-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
path: dist/*
7070

7171
publish:
72-
if: needs.build-test.result == 'success' && contains(github.ref, 'release')
72+
if: needs.build-test.result == 'success' && !github.event.release.prerelease
7373
name: Publish to test.PyPI and PyPI
7474
runs-on: ubuntu-latest
7575
needs: [build-test]

0 commit comments

Comments
 (0)