forked from dynaconf/dynaconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bumpversion.toml
44 lines (39 loc) · 1.22 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
42
43
[tool.bumpversion]
current_version = "3.3.0-dev0"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
(?P<patch>0|[1-9]\\d*)
(?:
- # dash separator for pre-release section
(?P<pre>[a-zA-Z-]+) # pre-release label
(?P<pre_n>0|[1-9]\\d*) # pre-release version number
)? # pre-release section is optional
"""
serialize = [
"{major}.{minor}.{patch}-{pre}{pre_n}",
"{major}.{minor}.{patch}",
]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
allow_dirty = true # allow bumping when there are uncommitted git files
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
commit = false
message = "Bump to version {new_version}"
commit_args = ""
[tool.bumpversion.parts.pre]
values = ["dev","final"]
optional_value = "final"
[[tool.bumpversion.files]]
filename = "dynaconf/VERSION"
search = "{current_version}"
[[tool.bumpversion.files]]
filename = "mkdocs.yml"
search = "site_name: Dynaconf - {current_version}"
replace = "site_name: Dynaconf - {new_version}"