Fix version regex
This commit is contained in:
parent
b67d632388
commit
6690f37a72
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
current_version = 0.20.0-rc8
|
||||
commit = True
|
||||
tag = True
|
||||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)-((?P<release>[a-z]+)(?P<candidate>\d+))?
|
||||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[a-z]+)(?P<candidate>\d+))?
|
||||
serialize =
|
||||
{major}.{minor}.{patch}-{release}{candidate}
|
||||
{major}.{minor}.{patch}
|
||||
|
|
Loading…
Reference in a new issue