From a1b9334f2330f2deb432e44a5fd7907db08b0076 Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Mon, 16 Dec 2024 11:39:03 +0100 Subject: [PATCH] Add bump-my-version (#279) --- .bumpversion.toml | 26 ++++++++++++++++++++++++++ src/serialbox-python/setup.py | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .bumpversion.toml diff --git a/.bumpversion.toml b/.bumpversion.toml new file mode 100644 index 00000000..5413b265 --- /dev/null +++ b/.bumpversion.toml @@ -0,0 +1,26 @@ +[tool.bumpversion] +current_version = "2.6.2" +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 = "Bump version: {current_version} → {new_version}" +allow_dirty = true +commit = false +message = "Bump version: {current_version} → {new_version}" +commit_args = "" +setup_hooks = [] +pre_commit_hooks = [] +post_commit_hooks = [] + +[[tool.bumpversion.files]] +filename = "CMakeLists.txt" + +[[tool.bumpversion.files]] +filename = "src/serialbox-python/setup.py" diff --git a/src/serialbox-python/setup.py b/src/serialbox-python/setup.py index 6a5b890f..4550252d 100644 --- a/src/serialbox-python/setup.py +++ b/src/serialbox-python/setup.py @@ -146,7 +146,7 @@ def _get_origin(self): # logic and declaration, and simpler if you include description/version in a file. setup( name="serialbox", - version="0.0.1", + version="2.6.2", author="Serialbox Developers", packages=find_packages(), install_requires=["numpy"],