add bumpver and packages dir to pyproject.toml

This commit is contained in:
Nick Sweeting 2024-10-24 15:12:59 -07:00
parent b6e60e63bc
commit 9e4e5d5113
No known key found for this signature in database

View file

@ -134,6 +134,9 @@ dev-dependencies = [
"django-autotyping>=0.5.1",
]
[tool.uv.workspace]
members = ["packages/*"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
@ -211,3 +214,21 @@ Demo = "https://demo.archivebox.io"
Donate = "https://github.com/ArchiveBox/ArchiveBox/wiki/Donations"
[tool.bumpver]
current_version = "0.8.5rc51"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "bump version {old_version} -> {new_version}"
tag_message = "v{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}"',
'version = "{version}"',
]