Fix #1634: updatecheck for new version strings

This commit is contained in:
Oliver Blanthorn 2019-05-31 15:59:48 +01:00
parent d4f6ec84e1
commit 26d52e15d8
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -97,7 +97,7 @@ export function getInstalledPatchVersion() {
// to automatically update us if we're on the beta channel, and
// disregard the pre-release information entirely when doing our
// own update check.
return TRI_VERSION.replace(/-.*/, "")
return TRI_VERSION.replace(/pre.*/, "")
}
export function getInstalledVersion() {