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:
authorDaniel Hansson <github@hanssonit.se>2021-03-09 22:51:28 +0300
committerGitHub <noreply@github.com>2021-03-09 22:51:28 +0300
commitcf5faa6f6b644ec648869545e1bbbf6d2faf3113 (patch)
tree9370bf8c44c12a01dbea83b4f5d7170f810c9b4e /static/update.sh
parentb22a4c4f57c6eefb9823602ba4eb6119c49cbe35 (diff)
fix versioning - take 2 (#1882)
Diffstat (limited to 'static/update.sh')
-rw-r--r--static/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/update.sh b/static/update.sh
index f680a758..51fa7ab4 100644
--- a/static/update.sh
+++ b/static/update.sh
@@ -29,7 +29,7 @@ then
echo "${1}" > /tmp/prerelease.version
elif [[ "${1}" == *"nextmajor"* ]]
then
- echo "$((NCMAJOR-1))" > /tmp/nextmajor.version
+ echo "$((${CURRENTVERSION%%.*}-2))" > /tmp/nextmajor.version
fi
# Delete, download, run