-
-
Notifications
You must be signed in to change notification settings - Fork 331
Expand file tree
/
Copy path.bumpversion.toml
More file actions
29 lines (25 loc) · 819 Bytes
/
Copy path.bumpversion.toml
File metadata and controls
29 lines (25 loc) · 819 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
28
29
[tool.bumpversion]
current_version = "3.0.0-beta.1"
commit = true
tag = true
tag_name = "v{new_version}"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(-(?P<release>alpha|beta|rc|test)\\.(?P<build>\\d+))?"
serialize = [
"{major}.{minor}.{patch}-{release}.{build}",
"{major}.{minor}.{patch}",
]
[tool.bumpversion.parts.release]
optional_value = "regular"
values = ["alpha", "beta", "rc", "test", "regular"]
[[tool.bumpversion.files]]
filename = "docker-compose.yml"
search = "IRIS_VERSION:-v{current_version}"
replace = "IRIS_VERSION:-v{new_version}"
[[tool.bumpversion.files]]
filename = ".env.example"
search = "IRIS_VERSION=v{current_version}"
replace = "IRIS_VERSION=v{new_version}"
[[tool.bumpversion.files]]
filename = "README.md"
search = "v{current_version}"
replace = "v{new_version}"