add build_no and release_tag placeholders

This commit is contained in:
Manuel Barkhau 2018-12-22 00:15:01 +01:00
parent b835a5912f
commit fe019fa546
3 changed files with 46 additions and 32 deletions

View file

@ -41,7 +41,9 @@ RE_PATTERN_PARTS = {
'version' : r"v\d{6}\.\d{4,}(\-(alpha|beta|dev|rc|post))?",
'calver' : r"v\d{6}",
'build' : r"\.\d{4,}",
'build_no' : r"\d{4,}",
'release' : r"(\-(alpha|beta|dev|rc|post))?",
'release_tag' : r"(alpha|beta|dev|rc|post)?",
}