-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy path.bumpversion.toml
More file actions
108 lines (91 loc) · 3.21 KB
/
.bumpversion.toml
File metadata and controls
108 lines (91 loc) · 3.21 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[tool.bumpversion]
current_version = "0.7.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(-(?P<pre_label>alpha|beta|rc)\\.(?P<pre_n>\\d+))?"
serialize = [
"{major}.{minor}.{patch}-{pre_label}.{pre_n}",
"{major}.{minor}.{patch}"
]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_files = false
ignore_missing_version = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Release version {new_version}"
allow_dirty = false
commit = false
message = "chore: bump version {current_version} → {new_version}"
[tool.bumpversion.parts.pre_label]
optional_value = "stable"
first_value = "stable"
values = ["stable", "alpha", "beta", "rc"]
[tool.bumpversion.parts.pre_n]
optional_value = "0"
first_value = "0"
# Makefiles - VERSION variable
[[tool.bumpversion.files]]
filename = "java/Makefile"
search = "VERSION = {current_version}"
replace = "VERSION = {new_version}"
[[tool.bumpversion.files]]
filename = "python/Makefile"
search = "VERSION = {current_version}"
replace = "VERSION = {new_version}"
[[tool.bumpversion.files]]
filename = "rust/Makefile"
search = "VERSION = {current_version}"
replace = "VERSION = {new_version}"
# Java pom.xml files
[[tool.bumpversion.files]]
filename = "java/pom.xml"
search = "<version>{current_version}</version>"
replace = "<version>{new_version}</version>"
[[tool.bumpversion.files]]
filename = "java/springboot-server-pom.xml"
search = "<version>{current_version}</version>"
replace = "<version>{new_version}</version>"
# Python pyproject.toml files
[[tool.bumpversion.files]]
filename = "python/pyproject.urllib3_client.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
# Rust Cargo.toml files
[[tool.bumpversion.files]]
filename = "rust/Cargo.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "rust/reqwest-client.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
# Python lance_namespace package
[[tool.bumpversion.files]]
filename = "python/lance_namespace/pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
# Also the lance-namespace-urllib3-client dependency in lance_namespace/pyproject.toml
[[tool.bumpversion.files]]
filename = "python/lance_namespace/pyproject.toml"
search = 'lance-namespace-urllib3-client=={current_version}'
replace = 'lance-namespace-urllib3-client=={new_version}'
# Java lance-namespace-core module
[[tool.bumpversion.files]]
filename = "java/lance-namespace-core/pom.xml"
search = "<version>{current_version}</version>"
replace = "<version>{new_version}</version>"
# Java async-client-pom.xml (template for async client)
[[tool.bumpversion.files]]
filename = "java/async-client-pom.xml"
search = "<version>{current_version}</version>"
replace = "<version>{new_version}</version>"
# Java lance-namespace-core-async module
[[tool.bumpversion.files]]
filename = "java/lance-namespace-core-async/pom.xml"
search = "<version>{current_version}</version>"
replace = "<version>{new_version}</version>"