diff options
author | szaimen <szaimen@e.mail.de> | 2020-05-11 23:28:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 23:28:19 +0300 |
commit | 5a5e87bac4bd7ceb17e29a5faf7a83dbb3aaef18 (patch) | |
tree | 2e063cb3e16ba9a36aa1f01e50d91fde7599a57d /static/update.sh | |
parent | 78a458cec7da2cf81d1b0e27290b5217a898142d (diff) |
Allow beta or RC versions (#1230)
Co-authored-by: Daniel Hansson <github@hanssonit.se>
Diffstat (limited to 'static/update.sh')
-rw-r--r-- | static/update.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/static/update.sh b/static/update.sh index dde609ed..6b069e2e 100644 --- a/static/update.sh +++ b/static/update.sh @@ -21,6 +21,12 @@ mkdir -p "$SCRIPTS" if [ "${1}" = "minor" ] then echo "$((NCMAJOR-1))" > /tmp/minor.version +elif [ "${1}" = "beta" ] +then + echo "beta" > /tmp/prerelease.version +elif [[ "${1}" == *"RC"* ]] +then + echo "${1}" > /tmp/prerelease.version fi # Delete, download, run |