diff options
author | Daniel Hansson <github@hanssonit.se> | 2021-03-09 22:51:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 22:51:28 +0300 |
commit | cf5faa6f6b644ec648869545e1bbbf6d2faf3113 (patch) | |
tree | 9370bf8c44c12a01dbea83b4f5d7170f810c9b4e /static/update.sh | |
parent | b22a4c4f57c6eefb9823602ba4eb6119c49cbe35 (diff) |
fix versioning - take 2 (#1882)
Diffstat (limited to 'static/update.sh')
-rw-r--r-- | static/update.sh | 2 |
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 |