Skip to content

Commit f2dc780

Browse files
committed
Attempt support for alpha versions
1 parent 3211b94 commit f2dc780

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.bumpversion.cfg

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
[bumpversion]
22
current_version = 0.3.16
3+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>.*)-(?P<build>\d+))?
4+
serialize =
5+
{major}.{minor}.{patch}-{release}-{build}
6+
{major}.{minor}.{patch}
37
commit = True
48

59
[bumpversion:file:pyproject.toml]
10+
11+
[bumpversion:part:release]
12+
first_value = regular
13+
optional_value = regular
14+
values =
15+
alpha
16+
beta
17+
rc
18+
test
19+
regular

0 commit comments

Comments
 (0)