EOX GitLab Instance

.bumpversion.cfg 757 Bytes
Newer Older
Nikola Jankovic's avatar
Nikola Jankovic committed
1
[bumpversion]
2
current_version = 2.0.0
Nikola Jankovic's avatar
Nikola Jankovic committed
3
4
5
6
7
8
9
10
11
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}
tag_name = release-{new_version}

[bumpversion:part:release]
Nikola Jankovic's avatar
Nikola Jankovic committed
12
optional_value = alpha
Nikola Jankovic's avatar
Nikola Jankovic committed
13
14
15
16
17
18
19
20
21
values = 
	alpha
	beta
	rc
	final

[bumpversion:file:.bumpversion.cfg]
search = current_version = {current_version}

Nikola Jankovic's avatar
Nikola Jankovic committed
22
[bumpversion:file:Dockerfile]
Nikola Jankovic's avatar
Nikola Jankovic committed
23
24
25
26
27
28
29
30
31
32
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:glob:chart/Chart.yaml]
search = appVersion: "{current_version}"
replace = appVersion: "{new_version}"