File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ current_version = 3.9.29-alpha.0
3
3
commit = True
4
4
tag = True
5
5
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<prerelease_label>[a-z]+)\.(?P<prerelease>\d+))?
6
- serialize =
6
+ serialize =
7
7
{major}.{minor}.{patch}-{prerelease_label}.{prerelease}
8
8
{major}.{minor}.{patch}
9
9
@@ -12,7 +12,7 @@ first_value = 0
12
12
13
13
[bumpversion:part:prerelease_label]
14
14
optional_value = rc
15
- values =
15
+ values =
16
16
alpha
17
17
beta
18
18
rc
@@ -40,3 +40,8 @@ replace = __version__ = '{new_version}'
40
40
[bumpversion:file:.cookiecutterrc]
41
41
search = version: {current_version}
42
42
replace = version: {new_version}
43
+
44
+ [bumpversion:part:release]
45
+ # This is a "virtual" part. It's not in the version string itself.
46
+ # Its purpose is to enable the 'bumpversion release' command,
47
+ # which will intelligently drop the pre-release suffix.
You can’t perform that action at this time.
0 commit comments