From d7671ab9cc02a8e873c2e37585add8dc0ae42da8 Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Fri, 22 Mar 2019 14:32:11 +0100 Subject: [PATCH] Also remove alphas Closes #691 [skip travis] Signed-off-by: Tilo Spannagel --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index c6051c6..c498975 100755 --- a/update.sh +++ b/update.sh @@ -152,7 +152,7 @@ function create_variant() { done } -find . -maxdepth 1 -type d -regextype sed -regex '\./[[:digit:]]\+\.[[:digit:]]\+\(-rc\|-beta\)\?' -exec rm -r '{}' \; +find . -maxdepth 1 -type d -regextype sed -regex '\./[[:digit:]]\+\.[[:digit:]]\+\(-rc\|-beta\|-alpha\)\?' -exec rm -r '{}' \; fullversions=( $( curl -fsSL 'https://download.nextcloud.com/server/releases/' |tac|tac| \ grep -oE 'nextcloud-[[:digit:]]+(\.[[:digit:]]+){2}' | \