Skip to content

Commit 7ec7947

Browse files
Update .github/workflows/publish.yml
Co-authored-by: Nick Henden <nick.henden@ukhsa.gov.uk>
1 parent b9f3d47 commit 7ec7947

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
repository-url: https://test.pypi.org/legacy/
6161

6262
publish-to-pypi:
63-
if: ${{ github.event.release.prerelease == false && github.event.release.target_commitish == 'main' }} for PyPi
63+
if: ${{ github.event.release.target_commitish == 'main' }}
6464
name: Publish Python 🐍 distribution 📦 to PyPI via Trusted Publisher (no token)
6565
needs:
6666
- build

0 commit comments

Comments
 (0)