mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
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:
parent
c04fdfef47
commit
04f16bfcad
4 changed files with 5 additions and 5 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue