mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 08:12:55 +00:00
Set stabilization if any branch is in stabilization (CS-2523)
Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
parent
b698f10bf3
commit
7dbbdbdef4
1 changed files with 3 additions and 1 deletions
|
@ -399,6 +399,7 @@ def determine_active_y_version(rhel_version, api_url):
|
|||
|
||||
active_y_version = -1
|
||||
beta = False
|
||||
in_exception_phase = False
|
||||
for entry in payload:
|
||||
shortname = entry["shortname"]
|
||||
|
||||
|
@ -410,6 +411,7 @@ def determine_active_y_version(rhel_version, api_url):
|
|||
active_y_version = y_version
|
||||
beta = bool(extra_version and "beta" in extra_version)
|
||||
|
||||
if not in_exception_phase:
|
||||
in_exception_phase = entry["phase"] == 450
|
||||
|
||||
logger.debug(
|
||||
|
|
Loading…
Add table
Reference in a new issue