0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-05 22:04:58 +01:00

Remove seperate production channel

Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
Tilo Spannagel 2020-09-30 23:02:26 +02:00
parent d1d4467e34
commit 9c9e815419

View file

@ -1,10 +1,7 @@
#!/bin/bash #!/bin/bash
set -Eeuo pipefail set -Eeuo pipefail
declare -A release_channel=( stable_channel='19.0.3'
[stable]='19.0.3'
[production]='18.0.9'
)
self="$(basename "$BASH_SOURCE")" self="$(basename "$BASH_SOURCE")"
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
@ -94,11 +91,9 @@ for version in "${versions[@]}"; do
versionAliases+=( "latest" ) versionAliases+=( "latest" )
fi fi
for channel in "${!release_channel[@]}"; do if [ "$fullversion_with_extension" = "$stable_channel" ]; then
if [ "$fullversion_with_extension" = "${release_channel[$channel]}" ]; then versionAliases+=( "stable" "production" )
versionAliases+=( "$channel" ) fi
fi
done
variantAliases=( "${versionAliases[@]/%/-$variant}" ) variantAliases=( "${versionAliases[@]/%/-$variant}" )
variantAliases=( "${variantAliases[@]//latest-}" ) variantAliases=( "${variantAliases[@]//latest-}" )