mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Add tbump config
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user