Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

Commit 4ce134b

Browse files
committed
Adjust bumpversion config
1 parent 88e9925 commit 4ce134b

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.bumpversion.cfg

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
[bumpversion]
22
current_version = 0.2.3
3-
parse = (?P<major>\d+)\.(?P<minor>.*)\.(?P<patch>.*)
4-
serialize = {major}.{minor}.{patch}
3+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
4+
serialize =
5+
{major}.{minor}.{patch}-{release}{build}
6+
{major}.{minor}.{patch}
7+
8+
[bumpversion:part:release]
9+
optional_value = prod
10+
first_value = dev
11+
values =
12+
dev
13+
prod
514

615
[bumpversion:file:setup.py]
716

0 commit comments

Comments
 (0)