diff options
author | j.spijker@ultimaker.com <jelle spijker> | 2022-06-13 09:40:48 +0300 |
---|---|---|
committer | Jelle Spijker <j.spijker@ultimaker.com> | 2022-06-13 16:08:00 +0300 |
commit | 04f16bfcadfed4f9084a48898245063c3f94d389 (patch) | |
tree | d7aaf9c2e4c34ec29889b701e47b6d043e35591f /conanfile.py | |
parent | c04fdfef47241811d6501a3f4734f310a09cf6ff (diff) |
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
Diffstat (limited to 'conanfile.py')
-rw-r--r-- | conanfile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conanfile.py b/conanfile.py index 21f8caacc2..2ec3bc8faa 100644 --- a/conanfile.py +++ b/conanfile.py @@ -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): |