Skip to content

Commit

Permalink
Ensure only actual releases get published on PyPI
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre R. Mai <[email protected]>
  • Loading branch information
pmai committed Jul 15, 2024
1 parent 4a5f43f commit ec5e811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,5 +250,5 @@ jobs:
repository-url: https://test.pypi.org/legacy/

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

0 comments on commit ec5e811

Please sign in to comment.