Use dev as development version

Since we're no longer running from `master` branch
It is more fitting to rename it to either dev or
main. This version is only used when running from
source when the CURA_VERSION variable isn't set
while performing the `conan install`

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-13 08:40:48 +02:00 committed by Jelle Spijker
parent c04fdfef47
commit 04f16bfcad
4 changed files with 5 additions and 5 deletions

View file

@ -136,7 +136,7 @@ class Backup:
return False
current_version = Version(self._application.getVersion())
version_to_restore = Version(self.meta_data.get("cura_release", "master"))
version_to_restore = Version(self.meta_data.get("cura_release", "dev"))
if current_version < version_to_restore:
# Cannot restore version newer than current because settings might have changed.