Skip to content

Commit

Permalink
generate stack brew: rc status is always a suffix at end
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed May 30, 2024
1 parent 7dabf47 commit bd76785
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -105,7 +105,7 @@ for version in "${versions[@]}"; do
esac

if [ "$version" != "$fullVersion" ]; then
versionAliases+=( "${version}${suffix}" )
versionAliases+=( "${version}" )
fi

versionAliases+=( ${aliases[$version]:-} )
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bd76785

Please sign in to comment.