-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.bumpversion.toml
More file actions
61 lines (52 loc) · 1.82 KB
/
.bumpversion.toml
File metadata and controls
61 lines (52 loc) · 1.82 KB
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
52
53
54
55
56
57
58
59
60
61
[tool.bumpversion]
current_version = "0.2.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
tag = false
commit = false
# Update the Makefile (Handles the 'v' prefix)
[[tool.bumpversion.files]]
filename = "Makefile"
search = "VERSION ?= v{current_version}"
replace = "VERSION ?= v{new_version}"
# Update the Umbrella Chart
[[tool.bumpversion.files]]
filename = "helm/kubetasker/Chart.yaml"
search = "version: {current_version}"
replace = "version: {new_version}"
[[tool.bumpversion.files]]
filename = "helm/kubetasker/Chart.yaml"
search = 'appVersion: "{current_version}"'
replace = 'appVersion: "{new_version}"'
# Update Umbrella Chart Dependencies (Updates the requirements for sub-charts)
[[tool.bumpversion.files]]
filename = "helm/kubetasker/Chart.yaml"
search = 'version: "{current_version}"'
replace = 'version: "{new_version}"'
# Update Controller Chart
[[tool.bumpversion.files]]
filename = "helm/kubetasker-controller/Chart.yaml"
search = "version: {current_version}"
replace = "version: {new_version}"
[[tool.bumpversion.files]]
filename = "helm/kubetasker-controller/Chart.yaml"
search = 'appVersion: "{current_version}"'
replace = 'appVersion: "{new_version}"'
# Update Frontend Chart
[[tool.bumpversion.files]]
filename = "helm/kubetasker-frontend/Chart.yaml"
search = "version: {current_version}"
replace = "version: {new_version}"
[[tool.bumpversion.files]]
filename = "helm/kubetasker-frontend/Chart.yaml"
search = 'appVersion: "{current_version}"'
replace = 'appVersion: "{new_version}"'
# Update E2E Test Suite (Handles the 'v' prefix in image tags)
[[tool.bumpversion.files]]
filename = "test/e2e/e2e_suite_test.go"
search = ':v{current_version}"'
replace = ':v{new_version}"'