-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.bumpversion.toml
67 lines (56 loc) · 1.87 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[tool.bumpversion]
current_version = "0.3.1-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_l>[a-zA-Z-]+) # pre_l: pre-release label
(?P<pre_n>0|[1-9]\\d*) # pre_n: pre-release version number
)? # pre-release section is optional
"""
serialize = [
"{major}.{minor}.{patch}-{pre_l}{pre_n}",
"{major}.{minor}.{patch}",
]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []
[tool.bumpversion.parts.pre_l]
# 'final' is just a dummy, but required to have the versioning compatible with the reusable alphashared workflow
values = ["dev", "final"]
optional_value = "final"
[[tool.bumpversion.files]]
filename = "./directlfq/__init__.py"
[[tool.bumpversion.files]]
filename = "./release/linux/control"
[[tool.bumpversion.files]]
filename = "./release/linux/build_installer_linux.sh"
[[tool.bumpversion.files]]
filename = "./release/macos/distribution.xml"
[[tool.bumpversion.files]]
filename = "./release/macos/Info.plist"
[[tool.bumpversion.files]]
filename = "./release/macos/build_installer_macos.sh"
[[tool.bumpversion.files]]
filename = "./release/macos/build_package_macos.sh"
[[tool.bumpversion.files]]
filename = "./release/windows/build_installer_windows.ps1"
[[tool.bumpversion.files]]
filename = "./release/windows/directlfq_innoinstaller.iss"
[[tool.bumpversion.files]]
filename = "./settings.ini"