Correctly match releases as well as prereleases

Prior change I6a45d35c242d40c4fabe6dd8aae3812327a8f743 incorrectly
set the release pipeline so only PEP-440 prerelease tags would
trigger it. Make the prerelease suffix optional so that normal
release tags will also be enqueued.

Change-Id: Iea86b08c5de8b15fd8d0d017106899226bbd0022
This commit is contained in:
Jeremy Stanley 2021-02-05 22:04:04 +00:00
parent 7634ebb9a5
commit 53a7bfba18
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@
trigger:
gerrit:
- event: ref-updated
ref: ^refs/tags/[0-9]+(\.[0-9]+)*(a|b|rc)[0-9]+$
ref: ^refs/tags/[0-9]+(\.[0-9]+)*((a|b|rc)[0-9]+)?$
success:
mysql:
failure: