From 340636e1bf2023de54f7816fec25f64f606c0091 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 21 May 2024 10:02:31 -0400 Subject: [PATCH] Make Node.js 22 the default for RHEL 11 This will be adjusted as we get closer to release. Signed-off-by: Stephen Gallagher --- nodejs-sources.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nodejs-sources.sh b/nodejs-sources.sh index 3b246e4..c832ca5 100755 --- a/nodejs-sources.sh +++ b/nodejs-sources.sh @@ -150,6 +150,8 @@ FEDORA_DEFAULT_RELEASE_HIGH=$((NODE_PKG_MAJOR + 20)) if [[ $((NODE_PKG_MAJOR)) -eq 20 ]] then RHEL_DEFAULT_RELEASE=" || 0%{?rhel} == 10" +elif [[ $((NODE_PKG_MAJOR)) -eq 22 ]]; + then RHEL_DEFAULT_RELEASE=" || 0%{?rhel} == 11" fi rm -rf node-v${version}.tar.gz \