From 31ced4c7e5a0b755951f4c9742e48dfc018aa55c Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Mon, 13 Oct 2025 15:16:45 +0200 Subject: [PATCH] add versioning --- pyproject.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 51b00cd..ed32eed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,3 +14,25 @@ dependencies = [ [build-system] requires = ["hatchling"] build-backend = "hatchling.build" + +[tool.bumpversion] +current_version = "0.0.0" +parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" +serialize = ["{major}.{minor}.{patch}"] +search = "{current_version}" +replace = "{new_version}" +regex = false +ignore_missing_version = false +ignore_missing_files = false +tag = true +sign_tags = false +tag_name = "v{new_version}" +tag_message = "Bump version: {current_version} → {new_version}" +allow_dirty = true +commit = true +message = "Bump version: {current_version} → {new_version}" +moveable_tags = [] +commit_args = "" +setup_hooks = [] +pre_commit_hooks = [] +post_commit_hooks = [] -- 2.49.1