-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.bumpversion.toml
More file actions
40 lines (35 loc) · 1 KB
/
.bumpversion.toml
File metadata and controls
40 lines (35 loc) · 1 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
[tool.bumpversion]
current_version = "2.2.5"
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 = "DESCRIPTION"
search = "Version: {current_version}"
replace = "Version: {new_version}"
[[tool.bumpversion.files]]
filename = "conda/recipe/cpsr/meta.yaml"
search = "version: {current_version}"
replace = "version: {new_version}"
[[tool.bumpversion.files]]
filename = "conda/env/yml/pkgdown.yml"
search = "cpsr =={current_version}"
replace = "cpsr =={new_version}"
[[tool.bumpversion.files]]
filename = ".github/workflows/build_conda.yaml"
search = "VERSION: '{current_version}'"
replace = "VERSION: '{new_version}'"