-
Notifications
You must be signed in to change notification settings - Fork 8
/
.bumpversion.cfg
37 lines (30 loc) · 929 Bytes
/
.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
[bumpversion]
commit = False
tag = False
current_version = 1.5.0
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(rc|alpha))+(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{build}
{major}.{minor}.{patch}
[bumpversion:part:release]
first_value = alpha
values =
rc
alpha
[bumpversion:part:build]
first_value = 1
[bumpversion:file:README.rst]
search = :Version: {current_version}
replace = :Version: {new_version}
[bumpversion:file:package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"
[bumpversion:file:src/drc/conf/api.py]
search = API_VERSION = "{current_version}"
replace = API_VERSION = "{new_version}"
[bumpversion:file:src/drc/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:src/drc/api/tests/test_dso_api_strategy.py]
search = "{current_version}"
replace = "{new_version}"