-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.bumpversion.cfg
More file actions
34 lines (27 loc) · 788 Bytes
/
.bumpversion.cfg
File metadata and controls
34 lines (27 loc) · 788 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
33
[bumpversion]
current_version = 0.3.1
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>\w+))?
serialize =
{major}.{minor}.{patch}-{release}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = placeholder
values =
dev
placeholder
[bumpversion:file:VERSION]
search = {current_version}
replace = {new_version}
[bumpversion:file:src/inline_requests/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bumpversion:file:.cookiecutterrc]
search = version: {current_version}
replace = version: {new_version}
[bumpversion:file:HISTORY.rst]
search = .. comment:: bumpversion marker
replace = .. comment:: bumpversion marker
{new_version} ({now:%Y-%m-%d})
------------------