From bd18e77abdc1084f07242a8e5d27c32be2c7ff4f Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 4 Oct 2023 08:47:24 +0200 Subject: [PATCH] fix: [vps] make ``TARGET_VERSION`` of ``nextcloud upgrade`` actually work and document it properly --- bin/vps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/vps b/bin/vps index dd49912..39e2835 100755 --- a/bin/vps +++ b/bin/vps @@ -1903,7 +1903,7 @@ cmdline.spec::cmd:nextcloud:run() { cmdline.spec.gnu upgrade cmdline.spec:nextcloud:cmd:upgrade:run() { - : :posarg: [TARGET_VERSION] "Source cyclos dump file to restore" + : :posarg: [TARGET_VERSION] "Target version to migrate to" : :optval: --service,-s "The nexcloud service name (defaults to 'nextcloud')" local URL @@ -1929,7 +1929,7 @@ cmdline.spec:nextcloud:cmd:upgrade:run() { ## like relation resolution. ## --no-hint to remove the final hint about modifying your ## ``compose.yml``. - compose -q upgrade "$nextcloud_service" --no-hint + compose -q upgrade "$nextcloud_service" --no-hint "$TARGET_VERSION" errlvl="$?" after_version=$(nextcloud:src:version)