From 7ce5a404b6552cca591d165795b47c426065a36a Mon Sep 17 00:00:00 2001 From: vincentsarago Date: Thu, 1 Aug 2024 20:49:22 +0200 Subject: [PATCH] switch to bump-my-version --- .bumpversion.cfg | 9 --------- pyproject.toml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 .bumpversion.cfg diff --git a/.bumpversion.cfg b/.bumpversion.cfg deleted file mode 100644 index a6c2830..0000000 --- a/.bumpversion.cfg +++ /dev/null @@ -1,9 +0,0 @@ -[bumpversion] -current_version = 1.3.0 -commit = True -tag = True -tag_name = {new_version} - -[bumpversion:file:titiler/pgstac/__init__.py] -search = __version__ = "{current_version}" -replace = __version__ = "{new_version}" diff --git a/pyproject.toml b/pyproject.toml index 7be63a3..e0576f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -128,3 +128,17 @@ explicit_package_bases = true filterwarnings = [ "ignore::rasterio.errors.NotGeoreferencedWarning", ] + +[tool.bumpversion] +current_version = "1.3.0" +search = "{current_version}" +replace = "{new_version}" +regex = false +tag = true +commit = true +tag_name = "{new_version}" + +[[tool.bumpversion.files]] +filename = "titiler/pgstac/__init__.py" +search = '__version__ = "{current_version}"' +replace = '__version__ = "{new_version}"'