-
Notifications
You must be signed in to change notification settings - Fork 27
/
.bumpversion.toml
49 lines (39 loc) · 1.12 KB
/
.bumpversion.toml
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
[tool.bumpversion]
current_version = "2.0.0-1005"
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:-(?P<build>\d+))?'
serialize = ["{major}.{minor}.{patch}-{build}",
"{major}.{minor}.{patch}"]
commit = true
tag = true
tag_message = "{new_version}"
allow_dirty = true
[tool.bumpversion.part.build]
independent = true
optional_value = "0"
[tool.bumpversion.part.release]
optional_value = "beta"
values = [
"alpha",
"beta",
"rc1",
"rc2",
"rc3",
]
[[tool.bumpversion.files]]
filename = "setup.py"
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)'
serialize = ["{major}.{minor}.{patch}"]
[[tool.bumpversion.files]]
filename = "README.md"
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)'
serialize = ["{major}.{minor}.{patch}"]
[[tool.bumpversion.files]]
filename = "corems/__init__.py"
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)'
serialize = ["{major}.{minor}.{patch}"]
[[tool.bumpversion.files]]
filename = ".gitlab-ci.yml"
#[[tool.bumpversion.files]]
#filename = ".gitlab-ci.yml"
#search = 'CONTAINER_TAG: "{current_version}"'
#replace = 'CONTAINER_TAG: "{new_version}"'