diff options
author | j.spijker@ultimaker.com <jelle spijker> | 2022-06-14 08:23:15 +0300 |
---|---|---|
committer | Jelle Spijker <j.spijker@ultimaker.com> | 2022-06-14 08:23:15 +0300 |
commit | 3ff1dec6316fcb63f9fd518fc5904fe18886dd4f (patch) | |
tree | f800b8a58e46b2323fb28d64bfb499d2ca87f9ea /conanfile.py | |
parent | f193a7ce1f9d5091be929797643900d4a24fdb8e (diff) |
Use dev version as no version is set
Contributes to CURA-9365
Diffstat (limited to 'conanfile.py')
-rw-r--r-- | conanfile.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conanfile.py b/conanfile.py index e13376c73e..760efd5fa0 100644 --- a/conanfile.py +++ b/conanfile.py @@ -49,6 +49,8 @@ class CuraConan(ConanFile): @property def conandata_version(self): + if not self.version or self.version == "dev": + return "dev" version = tools.Version(self.version) version = f"{version.major}.{version.minor}.{version.patch}-{version.prerelease}" if version in self.conan_data: |