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"