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
33commit = True
44tag = True
55parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<prerelease_label>[a-z]+)\.(?P<prerelease>\d+))?
6- serialize =
6+ serialize =
77 {major}.{minor}.{patch}-{prerelease_label}.{prerelease}
88 {major}.{minor}.{patch}
99
@@ -12,7 +12,7 @@ first_value = 0
1212
1313[bumpversion:part:prerelease_label]
1414optional_value = rc
15- values =
15+ values =
1616 alpha
1717 beta
1818 rc
@@ -40,3 +40,8 @@ replace = __version__ = '{new_version}'
4040[bumpversion:file:.cookiecutterrc]
4141search = version: {current_version}
4242replace = 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