24 lines
467 B
INI
24 lines
467 B
INI
[bumpversion]
|
|
current_version = 0.1.5
|
|
commit = True
|
|
tag = True
|
|
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<stage>[^.]*)\.(?P<devnum>\d+))?
|
|
serialize =
|
|
{major}.{minor}.{patch}-{stage}.{devnum}
|
|
{major}.{minor}.{patch}
|
|
|
|
[bumpversion:part:stage]
|
|
optional_value = stable
|
|
first_value = stable
|
|
values =
|
|
alpha
|
|
beta
|
|
stable
|
|
|
|
[bumpversion:part:devnum]
|
|
|
|
[bumpversion:file:setup.py]
|
|
search = version="{current_version}",
|
|
replace = version="{new_version}",
|
|
|