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

@ -52,7 +52,7 @@ class CuraConan(ConanFile):
if "CURA_VERSION" in os.environ:
self.version = os.environ["CURA_VERSION"]
else:
self.version = "main"
self.version = "dev"
@property
def _staging(self):
@ -93,7 +93,7 @@ class CuraConan(ConanFile):
def validate(self):
if self.version:
if self.version != "main" and tools.Version(self.version) <= tools.Version("4"):
if self.version != "dev" and tools.Version(self.version) <= tools.Version("4"):
raise ConanInvalidConfiguration("Only versions 5+ are support")
def requirements(self):