forked from jupyterhub/zero-to-jupyterhub-k8s
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tbump.toml
40 lines (36 loc) · 755 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
# tbump is a tool to update version fields that we use
# to update baseVersion in chartpress.yaml as documented
# in RELEASE.md
#
# Config reference: https://github.com/your-tools/tbump#readme
#
[version]
current = "2.0.1-0.dev"
# match our prerelease prefixes
# -alpha.1
# -beta.2
# -0.dev
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(\-
(?P<prelease>
(
(alpha|beta|rc)\.\d+|
0\.dev
)
)
)?
'''
[git]
message_template = "Bump to {new_version}"
tag_template = "{new_version}"
# For each file to patch, add a [[file]] config
# section containing the path of the file, relative to the
# tbump.toml location.
[[file]]
src = "chartpress.yaml"
search = 'baseVersion: "{current_version}"'