From ef4338a39224e1f427e135128214dae609379007 Mon Sep 17 00:00:00 2001 From: pulpbot <pulp-infra@redhat.com> Date: Sun, 8 Dec 2024 02:57:54 +0000 Subject: [PATCH] Update CI files --- .github/template_gitref | 2 +- pyproject.toml | 24 +++++++++++++++++++----- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/template_gitref b/.github/template_gitref index 70eef899..22e8d0a9 100644 --- a/.github/template_gitref +++ b/.github/template_gitref @@ -1 +1 @@ -2021.08.26-405-g3845bbc +2021.08.26-406-g5f397e3 diff --git a/pyproject.toml b/pyproject.toml index f9a65cce..c6174984 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,19 +34,33 @@ ignore = [ current_version = "3.11.4.dev" commit = false tag = false -parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?" +parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?" serialize = [ - "{major}.{minor}.{patch}.{release}", - "{major}.{minor}.{patch}", + "{major}.{minor}.{patch}.{release}", + "{major}.{minor}.{patch}", + "{major}.{minor}.{alpha}{patch}.{release}", + "{major}.{minor}.{alpha}{patch}", ] +[tool.bumpversion.parts.alpha] +# This section is managed by the plugin template. Do not edit manually. + +# This is sort of a hack. In PEP440 prerelease markers work quite differently. +# But this fits best with the way we have been doing release versions. +optional_value = "final" +values = [ + "0a", + "final", +] +independent = true + [tool.bumpversion.parts.release] # This section is managed by the plugin template. Do not edit manually. optional_value = "prod" values = [ - "dev", - "prod", + "dev", + "prod", ] [[tool.bumpversion.files]]