Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2020-05-11 23:28:19 +0300
committerGitHub <noreply@github.com>2020-05-11 23:28:19 +0300
commit5a5e87bac4bd7ceb17e29a5faf7a83dbb3aaef18 (patch)
tree2e063cb3e16ba9a36aa1f01e50d91fde7599a57d /static/update.sh
parent78a458cec7da2cf81d1b0e27290b5217a898142d (diff)
Allow beta or RC versions (#1230)
Co-authored-by: Daniel Hansson <github@hanssonit.se>
Diffstat (limited to 'static/update.sh')
-rw-r--r--static/update.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/static/update.sh b/static/update.sh
index dde609ed..6b069e2e 100644
--- a/static/update.sh
+++ b/static/update.sh
@@ -21,6 +21,12 @@ mkdir -p "$SCRIPTS"
if [ "${1}" = "minor" ]
then
echo "$((NCMAJOR-1))" > /tmp/minor.version
+elif [ "${1}" = "beta" ]
+then
+ echo "beta" > /tmp/prerelease.version
+elif [[ "${1}" == *"RC"* ]]
+then
+ echo "${1}" > /tmp/prerelease.version
fi
# Delete, download, run