Improve update checking for beta versions
@@ -18,6 +18,13 @@ def check_for_updates():
if latest_version_name[0] == "v":
latest_version_name = latest_version_name[1:]
+ if "-BETA" in VERSION:
+ version_without_beta = VERSION.split("-BETA")[0]
+ if LooseVersion(latest_version_name) >= LooseVersion(version_without_beta):
+ return latest_version_name
+ else:
+ return None
+ else:
if LooseVersion(latest_version_name) > LooseVersion(VERSION):
return latest_version_name
else:
