-
Notifications
You must be signed in to change notification settings - Fork 274
/
.bumpversion.cfg
51 lines (41 loc) · 1.37 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[bumpversion]
current_version = 4.0.2
tag_name = {new_version}
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(pre|rc))(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{build}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = prod
first_value = rc
values =
rc
prod
[bumpversion:part:build]
first_value = 1
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:ui/package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"
[bumpversion:file:docker-compose.yml]
search = ALEPH_TAG:-{current_version}
replace = ALEPH_TAG:-{new_version}
[bumpversion:file:helm/charts/aleph/Chart.yaml]
search = ersion: {current_version}
replace = ersion: {new_version}
[bumpversion:file:helm/charts/aleph/values.yaml]
search = tag: "{current_version}"
replace = tag: "{new_version}"
[bumpversion:file:helm/charts/aleph/README.md]
search = global.image.tag | string | `"{current_version}"`
replace = global.image.tag | string | `"{new_version}"`
[bumpversion:file:contrib/aleph-traefik-minio-keycloak/docker-compose.yml]
search = ALEPH_TAG:-{current_version}
replace = ALEPH_TAG:-{new_version}
[bumpversion:file:contrib/keycloak/docker-compose.dev-keycloak.yml]
search = ALEPH_TAG:-{current_version}
replace = ALEPH_TAG:-{new_version}