mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06: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
|
||||
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…
Add table
Add a link
Reference in a new issue