-
Notifications
You must be signed in to change notification settings - Fork 4
/
.bumpversion.toml
40 lines (35 loc) · 1.03 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
[tool.bumpversion]
current_version = "2.0.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 = "DESCRIPTION"
search = "Version: {current_version}"
replace = "Version: {new_version}"
[[tool.bumpversion.files]]
filename = ".github/workflows/conda_docker_pkgdown.yml"
search = "VERSION: '{current_version}'"
replace = "VERSION: '{new_version}'"
[[tool.bumpversion.files]]
filename = "deploy/conda/env/yaml/rnasum.yaml"
search = "r-rnasum =={current_version}"
replace = "r-rnasum =={new_version}"
[[tool.bumpversion.files]]
filename = "deploy/conda/recipe/meta.yaml"
search = "version: {current_version}"
replace = "version: {new_version}"