Skip to content

Commit

Permalink
Add bump-my-version (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
havogt authored Dec 16, 2024
1 parent 7987f8c commit a1b9334
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[tool.bumpversion]
current_version = "2.6.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\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"
2 changes: 1 addition & 1 deletion src/serialbox-python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit a1b9334

Please sign in to comment.