Add tags for the release channels
Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
parent
0bb418696e
commit
3bb7c52357
@ -1,6 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
|
declare -A release_channel=(
|
||||||
|
[production]='12.0.6'
|
||||||
|
[stable]='13.0.1'
|
||||||
|
)
|
||||||
|
|
||||||
self="$(basename "$BASH_SOURCE")"
|
self="$(basename "$BASH_SOURCE")"
|
||||||
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
||||||
|
|
||||||
@ -96,6 +101,12 @@ for version in "${versions[@]}"; do
|
|||||||
versionAliases+=( "rc" )
|
versionAliases+=( "rc" )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
for channel in "${!release_channel[@]}"; do
|
||||||
|
if [ "$fullversion_with_extension" = "${release_channel[$channel]}" ]; then
|
||||||
|
versionAliases+=( "$channel" )
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
variantAliases=( "${versionAliases[@]/%/-$variant}" )
|
variantAliases=( "${versionAliases[@]/%/-$variant}" )
|
||||||
variantAliases=( "${variantAliases[@]//latest-}" )
|
variantAliases=( "${variantAliases[@]//latest-}" )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user