mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-13 06:50:08 +01:00
fix gitlab #4: make {release} tag optional
This commit is contained in:
parent
e17165827f
commit
b893995cbc
3 changed files with 31 additions and 3 deletions
|
|
@ -78,7 +78,7 @@ COMPOSITE_PART_PATTERNS = {
|
|||
'semver' : r"{MAJOR}\.{MINOR}\.{PATCH}",
|
||||
'release_tag' : r"{tag}",
|
||||
'build' : r"\.{bid}",
|
||||
'release' : r"-{tag}",
|
||||
'release' : r"(?:-{tag})?",
|
||||
# depricated
|
||||
'pep440_version': r"{year}{month}\.{BID}(?:{pep440_tag})?",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue