-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtbump.toml
44 lines (36 loc) · 920 Bytes
/
tbump.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
[version]
current = "0.3.0"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
'''
[git]
message_template = "bump to {new_version}"
tag_template = "v{new_version}"
[[file]]
src = "CMakeLists.txt"
search = "VERSION \"{current_version}\""
[[file]]
src = "include/fastscapelib/version.hpp"
version_template = "{major}"
search = "#define FASTSCAPELIB_VERSION_MAJOR {current_version}"
[[file]]
src = "include/fastscapelib/version.hpp"
version_template = "{minor}"
search = "#define FASTSCAPELIB_VERSION_MINOR {current_version}"
[[file]]
src = "include/fastscapelib/version.hpp"
version_template = "{patch}"
search = "#define FASTSCAPELIB_VERSION_PATCH {current_version}"
[[file]]
src = "doc/source/conf.py"
search = "version = \"{current_version}\""
[[file]]
src = "pixi.toml"
search = "version = \"{current_version}\""
[[file]]
src = "pyproject.toml"
search = "version = \"{current_version}\""