From ee9d5100eb2f6fd3aac7d47105235633897af74f Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 21 Aug 2026 16:21:23 +0000 Subject: [PATCH] pyproject: add bump-my-version configuration Fixes: #57 --- pyproject.toml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 02c8473..4125533 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,3 +43,30 @@ [tool.ruff.format] quote-style = "preserve" + +[tool.bumpversion] + current_version = "0.0.11" + 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 + push_tag = false + sign_tags = true + 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 = [] + allow_shell_hooks = false + + [[tool.bumpversion.files]] + filename = "flatpaker/__init__.py"