-
Notifications
You must be signed in to change notification settings - Fork 5
/
.bumpversion.toml
41 lines (35 loc) · 1.01 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
[tool.bumpversion]
current_version = "0.12.1"
commit = true
tag = false
tag_name = "v{new_version}"
allow_dirty = false
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+)(\\.(?P<build>\\d+)))?"
serialize = [
"{major}.{minor}.{patch}-{release}.{build}",
"{major}.{minor}.{patch}"
]
[[tool.bumpversion.files]]
filename = "finch/__version__.py"
search = "__version__ = \"{current_version}\""
replace = "__version__ = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "docs/source/conf.py"
parse = "release|version = \"{current_version}\""
replace = "{new_version}"
[[tool.bumpversion.files]]
filename = "Dockerfile"
search = "Version=\"{current_version}\""
replace = "Version=\"{new_version}\""
[[tool.bumpversion.files]]
filename = ".cruft.json"
search = "\"version\": \"{current_version}\","
replace = "\"version\": \"{new_version}\","
[tool.bumpversion.parts.build]
independent = false
[tool.bumpversion.parts.release]
optional_value = "release"
values = [
"dev",
"release"
]