diff --git a/.bumpversion.toml b/.bumpversion.toml new file mode 100644 index 00000000..b527b8dd --- /dev/null +++ b/.bumpversion.toml @@ -0,0 +1,17 @@ +[tool.bumpversion] +current_version = "3.0.5" + +[[tool.bumpversion.files]] +filename = "pyproject.toml" +search = 'version = "{current_version}"' +replace = 'version = "{new_version}"' + +[[tool.bumpversion.files]] +filename = "CITATION.cff" +search = 'version: "{current_version}"' +replace = 'version: "{new_version}"' + +[[tool.bumpversion.files]] +filename = "deeprank2/__init__.py" +search = '__version__ = "{current_version}"' +replace = '__version__ = "{new_version}"' diff --git a/pyproject.toml b/pyproject.toml index 48f0ac55..5827c845 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -148,15 +148,3 @@ isort.known-first-party = ["deeprank2"] ] "docs/*" = ["ALL"] "tests/perf/*" = ["T201"] # Use of print statements - -[tool.bumpversion] -current_version = "3.0.4" - -[[tool.bumpversion.files]] -filename = "pyproject.toml" - -[[tool.bumpversion.files]] -filename = "CITATION.cff" - -[[tool.bumpversion.files]] -filename = "deeprank2/__init__.py"