mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
chore: add nightly as valid tag
This commit is contained in:
parent
277d893de3
commit
0650d80b0c
3 changed files with 10 additions and 8 deletions
|
|
@ -68,7 +68,7 @@ def _configure_logging(verbose: int = 0) -> None:
|
|||
logger.debug("Logging configured.")
|
||||
|
||||
|
||||
VALID_RELEASE_TAG_VALUES = ("alpha", "beta", "dev", "rc", "post", "final")
|
||||
VALID_RELEASE_TAG_VALUES = ("alpha", "beta", "nightly", "dev", "rc", "post", "final")
|
||||
|
||||
|
||||
_current_date = dt.date.today().isoformat()
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ PART_PATTERNS = collections.OrderedDict(
|
|||
('PATCH' , r"[0-9]+"),
|
||||
('BUILD' , r"[0-9]+"),
|
||||
('BLD' , r"[1-9][0-9]*"),
|
||||
('TAG' , r"preview|final|dev|alpha|beta|post|rc"),
|
||||
('TAG' , r"preview|final|nightly|dev|alpha|beta|post|rc"),
|
||||
('PYTAG' , r"dev|post|rc|a|b"),
|
||||
('GITHASH', r"\.[0-9]+\+.*"),
|
||||
('NUM' , r"[0-9]+"),
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ TAG_BY_PEP440_TAG = {
|
|||
'a' : 'alpha',
|
||||
'b' : 'beta',
|
||||
'' : 'final',
|
||||
'nightly': 'nightly',
|
||||
'rc' : 'rc',
|
||||
'dev' : 'dev',
|
||||
'post' : 'post',
|
||||
|
|
@ -114,6 +115,7 @@ PEP440_TAG_BY_TAG = {
|
|||
'rc' : 'rc',
|
||||
'c' : 'rc',
|
||||
'final' : '',
|
||||
'nightly': 'nightly',
|
||||
'post' : 'post',
|
||||
'r' : 'post',
|
||||
'rev' : 'post',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue