From 9ea5739bad897f99f03ee46be10dd45341f42c4f Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Thu, 29 May 2025 11:12:08 +0200 Subject: [PATCH] move bumpmyversion to pyproject --- .bumpversion.toml | 21 --------------------- pyproject.toml | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 21 deletions(-) delete mode 100644 .bumpversion.toml diff --git a/.bumpversion.toml b/.bumpversion.toml deleted file mode 100644 index 894b569..0000000 --- a/.bumpversion.toml +++ /dev/null @@ -1,21 +0,0 @@ -[tool.bumpversion] -current_version = "0.1.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 = false -sign_tags = false -tag_name = "v{new_version}" -tag_message = "Bump version: {current_version} → {new_version}" -allow_dirty = false -commit = false -message = "Bump version: {current_version} → {new_version}" -moveable_tags = [] -commit_args = "" -setup_hooks = [] -pre_commit_hooks = [] -post_commit_hooks = [] diff --git a/pyproject.toml b/pyproject.toml index c915fc2..55e0e73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,3 +19,25 @@ build-backend = "hatchling.build" [tool.uv.sources] komconfig = { workspace = true } + +[tool.bumpversion] +current_version = "0.1.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 = false +sign_tags = false +tag_name = "v{new_version}" +tag_message = "Bump version: {current_version} → {new_version}" +allow_dirty = false +commit = false +message = "Bump version: {current_version} → {new_version}" +moveable_tags = [] +commit_args = "" +setup_hooks = [] +pre_commit_hooks = [] +post_commit_hooks = []