EOX GitLab Instance

.bumpversion.cfg 542 Bytes
Newer Older
Lubomir Doležal's avatar
Lubomir Doležal committed
1
[bumpversion]
2
current_version = 1.0.1
Lubomir Doležal's avatar
Lubomir Doležal 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]
Lubomir Doležal's avatar
Lubomir Doležal committed
12
optional_value = alpha
Lubomir Doležal's avatar
Lubomir Doležal committed
13
14
15
16
17
18
19
20
21
22
23
24
values = 
	alpha
	beta
	rc
	final

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

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