From b88bb7d1abf40f722e9e01c4d65b2455a945e133 Mon Sep 17 00:00:00 2001 From: Ian Scott Date: Mon, 23 Sep 2024 17:38:36 -0400 Subject: [PATCH] fix(build): Tweak to fix version bumping --- pyproject.toml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5906c1c..7118b11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "invenio-remote-user-data-kcworks" -version = "0.5.2-beta1" +version = "0.5.3-beta0" description = "An extension to draw user data from remote sources into the Knowledge Commons Works InvenioRDM instance" readme = "README.md" authors = [{ name = "Mesh Research", email = "scottia4@msu.edu" }] @@ -105,7 +105,7 @@ requires = ["setuptools>=61.0.0", "wheel"] build-backend = "setuptools.build_meta" [tool.bumpver] -current_version = "0.5.2-beta1" +current_version = "0.5.3-beta0" version_pattern = "MAJOR.MINOR.PATCH[-TAGNUM]" commit_message = "Bumping version {old_version} -> {new_version}." tag_message = "{new_version}" @@ -118,18 +118,16 @@ push = true [tool.bumpver.file_patterns] "pyproject.toml" = [ - 'current_version = "{version}"', - 'version = "{version}"', + '^version = "{version}"', ] "README.md" = [ - '{version}"', - "{pep440_version}" + '^Version {version}"', ] VERSION = [ - "{version}", + '^"{version}"', ] "invenio_remote_user_data_kcworks/__init__.py" = [ - '__version__ = "{version}"', + '^__version__ = "{version}"', ] [tool.pydocstyle]