-
Notifications
You must be signed in to change notification settings - Fork 9
/
.bumpversion.cfg
30 lines (25 loc) · 695 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
[bumpversion]
current_version = 0.0.8
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}.{release}{build}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = prod
first_value = dev
values =
dev
prod
[bumpversion:part:build]
first_value = 1
[bumpversion:file:./src/eddington_gui/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:./pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:./VERSION]
search = {current_version}
replace = {new_version}