forked from elbakramer/koapy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpversion.cfg
41 lines (37 loc) · 1.3 KB
/
.bumpversion.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[bumpversion]
current_version = 0.8.0
commit = True
tag = True
parse = (?P<major>\d+)(\.(?P<minor>\d+))?(\.(?P<patch>\d+))?((?P<cycle>(a|b|rc))(?P<pre>\d+))?(\.post(?P<post>\d+))?(\.dev(?P<dev>\d+))?(\+(?P<local>.+))?
serialize =
{major}.{minor}.{patch}{cycle}{pre}.post{post}.dev{dev}+{local}
{major}.{minor}.{patch}{cycle}{pre}.post{post}.dev{dev}
{major}.{minor}.{patch}{cycle}{pre}.post{post}+{local}
{major}.{minor}.{patch}{cycle}{pre}.post{post}
{major}.{minor}.{patch}{cycle}{pre}.dev{dev}+{local}
{major}.{minor}.{patch}{cycle}{pre}.dev{dev}
{major}.{minor}.{patch}{cycle}{pre}+{local}
{major}.{minor}.{patch}{cycle}{pre}
{major}.{minor}.{patch}.post{post}.dev{dev}+{local}
{major}.{minor}.{patch}.post{post}.dev{dev}
{major}.{minor}.{patch}.post{post}+{local}
{major}.{minor}.{patch}.post{post}
{major}.{minor}.{patch}.dev{dev}+{local}
{major}.{minor}.{patch}.dev{dev}
{major}.{minor}.{patch}+{local}
{major}.{minor}.{patch}
[bumpversion:part:cycle]
values =
final
a
b
rc
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:koapy/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"