Skip to content

Commit 59bd33b

Browse files
authored
Merge pull request #777 from pulp/update-ci/3.12
Update CI files for branch 3.12
2 parents a562832 + 0711c8e commit 59bd33b

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
@@ -35,19 +35,33 @@ ignore = [
3535
current_version = "3.12.6.dev"
3636
commit = false
3737
tag = false
38-
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
38+
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
3939
serialize = [
40-
"{major}.{minor}.{patch}.{release}",
41-
"{major}.{minor}.{patch}",
40+
"{major}.{minor}.{patch}.{release}",
41+
"{major}.{minor}.{patch}",
42+
"{major}.{minor}.{alpha}{patch}.{release}",
43+
"{major}.{minor}.{alpha}{patch}",
4244
]
4345

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

4761
optional_value = "prod"
4862
values = [
49-
"dev",
50-
"prod",
63+
"dev",
64+
"prod",
5165
]
5266

5367
[[tool.bumpversion.files]]

0 commit comments

Comments
 (0)