mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Use dev version as no version is set
Contributes to CURA-9365
This commit is contained in:
parent
f193a7ce1f
commit
3ff1dec631
1 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ class CuraConan(ConanFile):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def conandata_version(self):
|
def conandata_version(self):
|
||||||
|
if not self.version or self.version == "dev":
|
||||||
|
return "dev"
|
||||||
version = tools.Version(self.version)
|
version = tools.Version(self.version)
|
||||||
version = f"{version.major}.{version.minor}.{version.patch}-{version.prerelease}"
|
version = f"{version.major}.{version.minor}.{version.patch}-{version.prerelease}"
|
||||||
if version in self.conan_data:
|
if version in self.conan_data:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue