-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bumpversion.cfg
More file actions
32 lines (26 loc) · 812 Bytes
/
.bumpversion.cfg
File metadata and controls
32 lines (26 loc) · 812 Bytes
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
[bumpversion]
current_version = 0.9.0.alpha
commit = True
tag = True
tag_name = v{new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<hotfix>\d+)\.(?P<state>.*)
serialize = {major}.{minor}.{hotfix}.{state}
[bumpversion:part:state]
values =
alpha
beta
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:README.rst]
search = v{current_version}.
replace = v{new_version}.
[bumpversion:file:docs/conf.py]
search = version = release = '{current_version}'
replace = version = release = '{new_version}'
[bumpversion:file:src/memwiper/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace= version = "{new_version}"