Skip to content

Commit 12bcb16

Browse files
authored
Merge pull request #776 from pulp/update-ci/3.11
Update CI files for branch 3.11
2 parents 0e2fff5 + ef4338a commit 12bcb16

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
@@ -34,19 +34,33 @@ ignore = [
3434
current_version = "3.11.4.dev"
3535
commit = false
3636
tag = false
37-
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
37+
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
3838
serialize = [
39-
"{major}.{minor}.{patch}.{release}",
40-
"{major}.{minor}.{patch}",
39+
"{major}.{minor}.{patch}.{release}",
40+
"{major}.{minor}.{patch}",
41+
"{major}.{minor}.{alpha}{patch}.{release}",
42+
"{major}.{minor}.{alpha}{patch}",
4143
]
4244

45+
[tool.bumpversion.parts.alpha]
46+
# This section is managed by the plugin template. Do not edit manually.
47+
48+
# This is sort of a hack. In PEP440 prerelease markers work quite differently.
49+
# But this fits best with the way we have been doing release versions.
50+
optional_value = "final"
51+
values = [
52+
"0a",
53+
"final",
54+
]
55+
independent = true
56+
4357
[tool.bumpversion.parts.release]
4458
# This section is managed by the plugin template. Do not edit manually.
4559

4660
optional_value = "prod"
4761
values = [
48-
"dev",
49-
"prod",
62+
"dev",
63+
"prod",
5064
]
5165

5266
[[tool.bumpversion.files]]

0 commit comments

Comments
 (0)