Skip to content

Commit 467eeea

Browse files
authored
fix: skip pypi publish for package releases (#156)
1 parent 72596fb commit 467eeea

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66

77
jobs:
88
publish:
9+
# Package-only releases (for example packages-v0.1.0) are not
10+
# Python package releases and must not attempt a PyPI upload.
11+
if: startsWith(github.event.release.tag_name, 'v')
912
runs-on: ubuntu-latest
1013
permissions:
1114
contents: read

0 commit comments

Comments
 (0)