EOX GitLab Instance

.bumpversion.cfg 677 Bytes
Newer Older
Nikola Jankovic's avatar
Nikola Jankovic committed
1
[bumpversion]
2
current_version = 2.0.1
Nikola Jankovic's avatar
Nikola Jankovic committed
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
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]
optional_value = final
first_value = alpha
values = 
	alpha
	beta
	rc
	final

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

[bumpversion:file:Dockerfile]
search = version="{current_version}"
replace = version="{new_version}"

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