src/constants: add rhel 10 to releases
This commit is contained in:
parent
46e50a9dca
commit
ef2050a705
3 changed files with 13 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ import {
|
|||
RHEL_9_FULL_SUPPORT,
|
||||
RHEL_9_MAINTENANCE_SUPPORT,
|
||||
RHEL_10_BETA,
|
||||
RHEL_10,
|
||||
RHEL_10_FULL_SUPPORT,
|
||||
RHEL_10_MAINTENANCE_SUPPORT,
|
||||
ON_PREM_RELEASES,
|
||||
FEDORA_RELEASES,
|
||||
} from '../../../../constants';
|
||||
|
|
@ -94,6 +97,11 @@ const ReleaseSelect = () => {
|
|||
maintenanceSupportEnd = toMonthAndYear(RHEL_9_MAINTENANCE_SUPPORT[1]);
|
||||
}
|
||||
|
||||
if (key === RHEL_10) {
|
||||
fullSupportEnd = toMonthAndYear(RHEL_10_FULL_SUPPORT[1]);
|
||||
maintenanceSupportEnd = toMonthAndYear(RHEL_10_MAINTENANCE_SUPPORT[1]);
|
||||
}
|
||||
|
||||
if (isRhel(key)) {
|
||||
return `Full support ends: ${fullSupportEnd} | Maintenance support ends: ${maintenanceSupportEnd}`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue