From afa1ed1effd8942e147b0a8d82f699513bae2830 Mon Sep 17 00:00:00 2001 From: Peter Date: Sat, 31 Dec 2022 17:13:38 +0100 Subject: [PATCH] Add matchstring line for regex Update nextcloud to 25.0.2 change download URLs --- helper-scripts/nextcloud.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/helper-scripts/nextcloud.sh b/helper-scripts/nextcloud.sh index 16311fc2..37c0d5f3 100755 --- a/helper-scripts/nextcloud.sh +++ b/helper-scripts/nextcloud.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -NEXTCLOUD_VER="25" +# renovate: datasource=github-releases depName=nextcloud/server versioning=semver extractVersion=^v(?.*)$ +NEXTCLOUD_VERSION=25.0.2 for bin in curl dirmngr; do if [[ -z $(which ${bin}) ]]; then echo "Cannot find ${bin}, exiting..."; exit 1; fi @@ -77,7 +78,7 @@ elif [[ ${NC_UPDATE} == "y" ]]; then echo "Cannot upgrade to new major version, please update manually." exit 1 else - curl -L# -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/latest-$NEXTCLOUD_VER.tar.bz2" || { echo "Failed to download Nextcloud archive."; exit 1; } \ + curl -L# -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-$NEXTCLOUD_VERSION.tar.bz2" || { echo "Failed to download Nextcloud archive."; exit 1; } \ && tar -xjf nextcloud.tar.bz2 -C ./data/web/ \ && rm nextcloud.tar.bz2 \ && mkdir -p ./data/web/nextcloud/data \ @@ -98,7 +99,7 @@ elif [[ ${NC_INSTALL} == "y" ]]; then ADMIN_NC_PASS=$(