File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed
Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 1- 2021.08.26-405-g3845bbc
1+ 2021.08.26-406-g5f397e3
Original file line number Diff line number Diff line change @@ -90,19 +90,33 @@ ignore = [
9090current_version = " 2.23.0.dev"
9191commit = false
9292tag = false
93- parse = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)(\\ .(?P<release>[a-z]+))?"
93+ parse = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<alpha>0a)?(?P< patch>\\ d+)(\\ .(?P<release>[a-z]+))?"
9494serialize = [
95- " {major}.{minor}.{patch}.{release}" ,
96- " {major}.{minor}.{patch}" ,
95+ " {major}.{minor}.{patch}.{release}" ,
96+ " {major}.{minor}.{patch}" ,
97+ " {major}.{minor}.{alpha}{patch}.{release}" ,
98+ " {major}.{minor}.{alpha}{patch}" ,
9799]
98100
101+ [tool .bumpversion .parts .alpha ]
102+ # This section is managed by the plugin template. Do not edit manually.
103+
104+ # This is sort of a hack. In PEP440 prerelease markers work quite differently.
105+ # But this fits best with the way we have been doing release versions.
106+ optional_value = " final"
107+ values = [
108+ " 0a" ,
109+ " final" ,
110+ ]
111+ independent = true
112+
99113[tool .bumpversion .parts .release ]
100114# This section is managed by the plugin template. Do not edit manually.
101115
102116optional_value = " prod"
103117values = [
104- " dev" ,
105- " prod" ,
118+ " dev" ,
119+ " prod" ,
106120]
107121
108122[[tool .bumpversion .files ]]
You can’t perform that action at this time.
0 commit comments