From 3aa839079b5577d645885999071776acabd0bdab Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Sat, 26 Aug 2023 01:56:37 +0000 Subject: [PATCH] MAINT: Basic tbump.toml file --- tbump.toml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tbump.toml diff --git a/tbump.toml b/tbump.toml new file mode 100644 index 0000000..6a680e4 --- /dev/null +++ b/tbump.toml @@ -0,0 +1,40 @@ +# Uncomment this if your project is hosted on GitHub: +github_url = "https://github.com/HaoZeke/GaussJacobiQuad/" + +[version] +current = "0.1.0" + +# Example of a semver regexp. +# Make sure this matches current_version before +# using tbump +regex = ''' + (?P\d+) + \. + (?P\d+) + \. + (?P\d+) + ''' + +[git] +message_template = "REL: Bump to v{new_version}" +tag_template = "v{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 = "..." + +# You can specify a list of commands to +# run after the files have been patched +# and before the git commit is made + +# [[before_commit]] +# name = "check changelog" +# cmd = "grep -q {new_version} Changelog.rst" + +# Or run some commands after the git tag and the branch +# have been pushed: +# [[after_push]] +# name = "publish" +# cmd = "./publish.sh"