We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f48cff commit c687084Copy full SHA for c687084
.bumpversion.toml
@@ -4,6 +4,16 @@ commit = false
4
tag = false
5
tag_name = "v{new_version}"
6
allow_dirty = true
7
+parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<release>a|b|rc)(?P<build>\\d+))?"
8
+serialize = [
9
+ "{major}.{minor}.{patch}{release}{build}",
10
+ "{major}.{minor}.{patch}"
11
+]
12
+
13
+[[tool.bumpversion.files]]
14
+filename = ".bumpversion.toml"
15
+search = 'current_version = "{current_version}"'
16
+replace = 'current_version = "{new_version}"'
17
18
[[tool.bumpversion.files]]
19
filename = "pyproject.toml"
0 commit comments