Skip to content

Commit

Permalink
MAINT: Basic tbump.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Aug 26, 2023
1 parent c8ddaf5 commit 3aa8390
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions tbump.toml
Original file line number Diff line number Diff line change
@@ -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<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\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"

0 comments on commit 3aa8390

Please sign in to comment.