Skip to content

Commit

Permalink
⬆️ Added tbump
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbadyal committed Aug 21, 2024
1 parent 7ae250a commit 79c745e
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,50 @@ include = ["."]
typeCheckingMode = "strict"
exclude = ["**/test",]
reportMissingTypeStubs = false
[tool.tbump]
# Uncomment this if your project is hosted on GitHub:
# github_url = "https://github.com/<user or organization>/<project>/"

[tool.tbump.version]
current = "8.10.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+)
'''

[tool.tbump.git]
message_template = "⬆️ Bump to {new_version}"
tag_template = "v{new_version}"

# For each file to patch, add a [[tool.tbump.file]] config
# section containing the path of the file, relative to the
# tbump.toml location.
[[tool.tbump.file]]
src = "pyproject.toml"

[[tool.tbump.file]]
src = "esxport/__init__.py"

[[tool.tbump.file]]
src = "test/.env"
search = 'STACK_VERSION={current_version}'
# You can specify a list of commands to
# run after the files have been patched
# and before the git commit is made

# [[tool.tbump.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:
# [[tool.tbump.after_push]]
# name = "publish"
# cmd = "./publish.sh"

0 comments on commit 79c745e

Please sign in to comment.