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
path: root/static
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2021-03-09 21:59:20 +0300
committerGitHub <noreply@github.com>2021-03-09 21:59:20 +0300
commit7bbc8e1b71a28ba7b6b6aa4e1cabf22f8b4ced0b (patch)
tree6b2f0d5a4f7253bf810a90c2eb7e46facd0f9727 /static
parent7020c5d31bfcce81f0198635950107ffe8d2d69d (diff)
use same logic as in minor version
Diffstat (limited to 'static')
-rw-r--r--static/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/update.sh b/static/update.sh
index 59d62df1..f680a758 100644
--- a/static/update.sh
+++ b/static/update.sh
@@ -29,7 +29,7 @@ then
echo "${1}" > /tmp/prerelease.version
elif [[ "${1}" == *"nextmajor"* ]]
then
- touch /tmp/nextmajor.version
+ echo "$((NCMAJOR-1))" > /tmp/nextmajor.version
fi
# Delete, download, run