Set CS10 and RHEL10 to latest

This commit is contained in:
Troy Dawson 2024-02-21 09:03:07 -08:00
parent 0fb26c5d52
commit 9f10a855db

View file

@ -252,6 +252,11 @@ class centpkgClient(cliClient):
self.log.info("Checking rhel-target information:")
stream_version = self.cmd.target.split('-')[0]
rhel_version = centpkg.utils.stream_mapping(stream_version)
# Until RHEL 10.1 is starting, set 10 to latest, by setting divergent_branch to True
if stream_version == "c10s" or rhel_version == "rhel-10":
divergent_branch = True
else:
try:
active_y, in_stabilization = centpkg.utils.determine_active_y_version(rhel_version, pp_api_url)
except AssertionError as e: