ci: only deploy to PyPI on X.Y.Z{,rcN} tags

We want to reserve other tags for our own purposes without it creating a
release.
This commit is contained in:
Ran Benita 2020-10-17 18:55:30 +03:00
parent 66311ff702
commit 701ff1f5a1
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ on:
- master
- "[0-9]+.[0-9]+.x"
tags:
- "*"
- "[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+rc[0-9]+"
pull_request:
branches: