From bd767859579606f8af92013309e1a9aa626d24da Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Thu, 30 May 2024 18:11:30 +1000 Subject: [PATCH] generate stack brew: rc status is always a suffix at end --- generate-stackbrew-library.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index 183c5bed..465d169b 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -91,7 +91,7 @@ for version in "${versions[@]}"; do else ubi= fi - versionAliases=( "${fullVersion}${ubi}${suffix}" ) + versionAliases=( "${fullVersion}${ubi}" ) case "${supportType}" in "Long Term Support") @@ -105,7 +105,7 @@ for version in "${versions[@]}"; do esac if [ "$version" != "$fullVersion" ]; then - versionAliases+=( "${version}${suffix}" ) + versionAliases+=( "${version}" ) fi versionAliases+=( ${aliases[$version]:-} ) @@ -139,6 +139,7 @@ for version in "${versions[@]}"; do fi versionAliases=( "${variantAliases[@]//latest-/}" "${versionAliases[@]}" ) + versionAliases=( "${versionAliases[@]/%/${suffix}}" ) arches=$(versionArches "$version") for arch in $arches; do