mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:49:00 +08:00
Use dev version as no version is set
Contributes to CURA-9365
This commit is contained in:
parent
f193a7ce1f
commit
3ff1dec631
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user