mirror of
https://github.com/nextcloud/docker.git
synced 2025-01-24 14:43:53 +01:00
Add tags for the release channels
Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
parent
0bb418696e
commit
3bb7c52357
1 changed files with 11 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
declare -A release_channel=(
|
||||
[production]='12.0.6'
|
||||
[stable]='13.0.1'
|
||||
)
|
||||
|
||||
self="$(basename "$BASH_SOURCE")"
|
||||
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
||||
|
||||
|
@ -96,6 +101,12 @@ for version in "${versions[@]}"; do
|
|||
versionAliases+=( "rc" )
|
||||
fi
|
||||
|
||||
for channel in "${!release_channel[@]}"; do
|
||||
if [ "$fullversion_with_extension" = "${release_channel[$channel]}" ]; then
|
||||
versionAliases+=( "$channel" )
|
||||
fi
|
||||
done
|
||||
|
||||
variantAliases=( "${versionAliases[@]/%/-$variant}" )
|
||||
variantAliases=( "${variantAliases[@]//latest-}" )
|
||||
|
||||
|
|
Loading…
Reference in a new issue