mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Update conanfile.py
This commit is contained in:
parent
d505e6980c
commit
ed48fd2e82
1 changed files with 5 additions and 0 deletions
|
@ -152,6 +152,11 @@ class CuraConan(ConanFile):
|
|||
cura_version = self.conf_info.get("user.cura:version", default = self.version, check_type = str)
|
||||
if self.options.internal:
|
||||
version = Version(cura_version)
|
||||
self.output.error("="*100)
|
||||
self.output.error(f"version: {version}")
|
||||
self.output.error(f"cura_version: {cura_version}")
|
||||
self.output.error(f"version.prerelease: {version.prerelease}")
|
||||
self.output.error("="*100)
|
||||
cura_version = f"{version.major}.{version.minor}.{version.patch}-{version.prerelease.replace('+', '+internal_')}"
|
||||
|
||||
with open(Path(location, "CuraVersion.py"), "w") as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue