-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpversion.toml
45 lines (39 loc) · 1.13 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
[tool.bumpversion]
current_version = "0.16.0"
search = "{current_version}"
replace = "{new_version}"
message = "Bump version: {current_version} → {new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
commit = true
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
(?P<patch>0|[1-9]\\d*)
(?:\\.(?P<dev>\\d+))?
"""
serialize = [
"{major}.{minor}.{patch}.{dev}",
"{major}.{minor}.{patch}",
]
[[tool.bumpversion.files]]
filename = "dracarys/VERSION.txt"
search = "{current_version}"
replace = "{new_version}"
[[tool.bumpversion.files]]
filename = "DESCRIPTION"
search = "Version: {current_version}"
replace = "Version: {new_version}"
[[tool.bumpversion.files]]
filename = ".github/workflows/conda_deploy.yaml"
search = "VERSION: '{current_version}'"
replace = "VERSION: '{new_version}'"
[[tool.bumpversion.files]]
filename = "conda/env/yaml/dracarys.yaml"
search = "r-dracarys =={current_version}"
replace = "r-dracarys =={new_version}"
[[tool.bumpversion.files]]
filename = "conda/recipe/meta.yaml"
search = "version: {current_version}"
replace = "version: {new_version}"