mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-13 23:03:54 +01:00
more coverage
This commit is contained in:
parent
4598286f12
commit
df492a20d6
10 changed files with 128 additions and 27 deletions
|
|
@ -430,7 +430,12 @@ def incr(
|
|||
|
||||
'old_version' is assumed to be a string that matches 'pattern'
|
||||
"""
|
||||
old_ver_nfo = parse_version_info(old_version, pattern)
|
||||
try:
|
||||
old_ver_nfo = parse_version_info(old_version, pattern)
|
||||
except ValueError as ex:
|
||||
log.error(str(ex))
|
||||
return None
|
||||
|
||||
cur_ver_nfo = old_ver_nfo
|
||||
|
||||
cur_cal_nfo = cal_info()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue