24 lines
474 B
INI
24 lines
474 B
INI
[bumpversion]
|
|
current_version = 0.1.2-beta.4
|
|
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}',
|
|
|