Skip to content

Commit ec5e811

Browse files
committed
Ensure only actual releases get published on PyPI
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent 4a5f43f commit ec5e811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/protobuf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,5 @@ jobs:
250250
repository-url: https://test.pypi.org/legacy/
251251

252252
- name: Publish Full Release on PyPI
253-
if: startsWith(github.ref, 'refs/tags/v')
253+
if: startsWith(github.ref, 'refs/tags/v') && ( ! contains(github.ref, '-') )
254254
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)