Add tbump config

This commit is contained in:
Erik Sundell
2023-07-07 18:28:55 +02:00
parent 301f9db059
commit b76db83c36

View File

@@ -56,3 +56,32 @@ omit = [
"tests/**", "tests/**",
"integration-tests/**", "integration-tests/**",
] ]
# tbump is used to simplify and standardize the release process when updating
# the version, making a git commit and tag, and pushing changes.
#
# ref: https://github.com/your-tools/tbump#readme
#
[tool.tbump]
github_url = "https://github.com/jupyterhub/the-littlest-jupyterhub"
[tool.tbump.version]
current = "1.0.0.dev0"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(?P<pre>((a|b|rc)\d+)|)
\.?
(?P<dev>(?<=\.)dev\d*|)
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "{new_version}"
[[tool.tbump.file]]
src = "setup.py"