From 9e4e5d5113050f513063ed905bfb106b2b5f0896 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 24 Oct 2024 15:12:59 -0700 Subject: [PATCH] add bumpver and packages dir to pyproject.toml --- pyproject.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2d0855f8..d0f40292 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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}"', +]