Skip to content

Commit 6ef04dc

Browse files
committed
Update CI files
1 parent 642cb0f commit 6ef04dc

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

.github/template_gitref

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021.08.26-405-g3845bbc
1+
2021.08.26-406-g5f397e3

pyproject.toml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,33 @@ ignore = [
9797
current_version = "3.28.36.dev"
9898
commit = false
9999
tag = false
100-
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
100+
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
101101
serialize = [
102-
"{major}.{minor}.{patch}.{release}",
103-
"{major}.{minor}.{patch}",
102+
"{major}.{minor}.{patch}.{release}",
103+
"{major}.{minor}.{patch}",
104+
"{major}.{minor}.{alpha}{patch}.{release}",
105+
"{major}.{minor}.{alpha}{patch}",
104106
]
105107

108+
[tool.bumpversion.parts.alpha]
109+
# This section is managed by the plugin template. Do not edit manually.
110+
111+
# This is sort of a hack. In PEP440 prerelease markers work quite differently.
112+
# But this fits best with the way we have been doing release versions.
113+
optional_value = "final"
114+
values = [
115+
"0a",
116+
"final",
117+
]
118+
independent = true
119+
106120
[tool.bumpversion.parts.release]
107121
# This section is managed by the plugin template. Do not edit manually.
108122

109123
optional_value = "prod"
110124
values = [
111-
"dev",
112-
"prod",
125+
"dev",
126+
"prod",
113127
]
114128

115129
[[tool.bumpversion.files]]

0 commit comments

Comments
 (0)