# HG changeset patch # User RhodeCode Admin # Date 2024-10-21 14:27:27 # Node ID 5c188ed83e1bc4c9b54efd0e2218d6e199e0e9f8 # Parent 783b11b60facc6a3595aa303fbfbb8e6f03c2fc3 core: switched bumpversion to pyproject setup, to deprecate bumpversion diff --git a/.bumpversion.cfg b/.bumpversion.cfg deleted file mode 100644 --- a/.bumpversion.cfg +++ /dev/null @@ -1,5 +0,0 @@ -[bumpversion] -current_version = 5.4.0 -message = release: Bump version {current_version} to {new_version} - -[bumpversion:file:vcsserver/VERSION] diff --git a/pyproject.toml b/pyproject.toml --- a/pyproject.toml +++ b/pyproject.toml @@ -71,3 +71,24 @@ skip-magic-trailing-comma = false # Like Black, automatically detect the appropriate line ending. line-ending = "auto" + +[tool.bumpversion] +current_version = "5.4.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 = "release(version-bump): {current_version} → {new_version}" +allow_dirty = false +commit = false +message = "release(version-bump): {current_version} → {new_version}" +commit_args = "" +setup_hooks = [] +pre_commit_hooks = [] +post_commit_hooks = []