Merge pull request #289 from nextcloud/release-channel
Add tags for the release channels
This commit is contained in:
commit
7af1748505
@ -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