-
-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy path.bumpversion.toml
More file actions
27 lines (23 loc) · 737 Bytes
/
.bumpversion.toml
File metadata and controls
27 lines (23 loc) · 737 Bytes
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
[tool.bumpversion]
current_version = "3.7.0"
commit = false
tag = false
tag_name = "v{new_version}"
allow_dirty = true
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<release>a|b|rc)(?P<build>\\d+))?"
serialize = [
"{major}.{minor}.{patch}{release}{build}",
"{major}.{minor}.{patch}"
]
[[tool.bumpversion.files]]
filename = ".bumpversion.toml"
search = 'current_version = "{current_version}"'
replace = 'current_version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "pyproject.toml"
[[tool.bumpversion.files]]
filename = "datastore/__init__.py"
[[tool.bumpversion.files]]
filename = "docs/conf.py"
search = "version = release = '{current_version}'"
replace = "version = release = '{new_version}'"