mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 08:12:55 +00:00
Set CS10 and RHEL10 to latest
This commit is contained in:
parent
0fb26c5d52
commit
9f10a855db
1 changed files with 28 additions and 23 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue