configure bumpver for versoning
All checks were successful
Tests / test (push) Successful in 22s

This commit is contained in:
Tobias Brunner 2025-04-14 13:19:55 +02:00
parent 55f6169562
commit 9e4b820757
No known key found for this signature in database
5 changed files with 144 additions and 2 deletions

View file

@ -25,6 +25,7 @@ dependencies = [
[dependency-groups]
dev = [
"black>=25.1.0",
"bumpver>=2024.1130",
"coverage>=7.7.0",
"djlint>=1.36.4",
"flake8>=7.1.2",
@ -53,3 +54,20 @@ DJANGO_SETTINGS_MODULE = "servala.settings"
addopts = "-p no:doctest -p no:pastebin -p no:nose --cov=./ --cov-report=term-missing:skip-covered"
testpaths = "src/tests"
pythonpath = "src"
[tool.bumpver]
current_version = "2025.04.14-0"
version_pattern = "YYYY.0M.0D-INC0"
commit_message = "bump version {old_version} -> {new_version}"
tag_message = "{new_version}"
tag_scope = "default"
pre_commit_hook = ""
post_commit_hook = ""
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = ['current_version = "{version}"']
"src/servala/__about__.py" = ['^__version__ = "{version}"$']
"README.md" = ['{version}']