-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bumpversion.toml
More file actions
60 lines (51 loc) · 1.6 KB
/
.bumpversion.toml
File metadata and controls
60 lines (51 loc) · 1.6 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
[tool.bumpversion]
current_version = "0.0.3"
search = "{current_version}"
replace = "{new_version}"
message = "Bump version: {current_version} => {new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
commit = false
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 = "DESCRIPTION"
search = "Version: {current_version}"
replace = "Version: {new_version}"
[[tool.bumpversion.files]]
filename = ".github/workflows/deploy.yaml"
search = "VERSION: '{current_version}'"
replace = "VERSION: '{new_version}'"
[[tool.bumpversion.files]]
filename = "deploy/conda/recipe/recipe.yaml"
search = "version: {current_version}"
replace = "version: {new_version}"
[[tool.bumpversion.files]]
filename = "deploy/conda/env/yaml/nemo.yaml"
search = "r-nemo =={current_version}"
replace = "r-nemo =={new_version}"
[[tool.bumpversion.files]]
filename = "deploy/conda/env/yaml/pkgdown.yaml"
search = "r-nemo =={current_version}"
replace = "r-nemo =={new_version}"
[[tool.bumpversion.files]]
filename = "inst/documentation/installation/_conda.qmd"
search = "r-nemo=={current_version}"
replace = "r-nemo=={new_version}"
[[tool.bumpversion.files]]
filename = "inst/documentation/installation/_r.qmd"
search = "nemo@v{current_version}"
replace = "nemo@v{new_version}"
[[tool.bumpversion.files]]
filename = "inst/documentation/installation/_pixi.qmd"
search = "r-nemo=={current_version}"
replace = "r-nemo=={new_version}"