diff --git a/.bumpversion.cfg b/.bumpversion.cfg deleted file mode 100644 index 8a50f0e5..00000000 --- a/.bumpversion.cfg +++ /dev/null @@ -1,9 +0,0 @@ -[bumpversion] -current_version = 6.6.1 -commit = True -tag = True -tag_name = {new_version} - -[bumpversion:file:rio_tiler/__init__.py] -search = __version__ = "{current_version}" -replace = __version__ = "{new_version}" diff --git a/pyproject.toml b/pyproject.toml index 3cf8a9cf..88462118 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,7 @@ tilebench = [ dev = [ "pre-commit", + "bump-my-version", ] s3 = [ "boto3", @@ -150,3 +151,17 @@ ignore = [ [tool.ruff.lint.mccabe] max-complexity = 14 + +[tool.bumpversion] +current_version = "6.6.1" +search = "{current_version}" +replace = "{new_version}" +regex = false +tag = true +commit = true +tag_name = "{new_version}" + +[[tool.bumpversion.files]] +filename = "rio_tiler/__init__.py" +search = '__version__ = "{current_version}"' +replace = '__version__ = "{new_version}"'