Skip to content

Commit

Permalink
Improve bump-my-version usage (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina authored Sep 9, 2024
1 parent c2526bb commit 5e811ab
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[tool.bumpversion]
current_version = "0.9.6"
tag = true
commit = true
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
message = "Bump version: {current_version} → {new_version}"

[[tool.bumpversion.files]]
filename = "pyproject.toml"

[[tool.bumpversion.files]]
filename = "src/nexgen/__init__.py"

0 comments on commit 5e811ab

Please sign in to comment.