Use different identifier for different versions so that they don't replace eachother.

CURA-6867
This commit is contained in:
Joey de l'Arago 2023-01-13 11:33:43 +01:00
parent 65bf56e9fa
commit 6ca4af399a

View file

@ -43,8 +43,7 @@ def build_pkg(dist_path: str, app_filename: str, component_filename: str, cura_v
# This builds the component package that contains UltiMaker-Cura.app. This component package will be bundled in a distribution package. # This builds the component package that contains UltiMaker-Cura.app. This component package will be bundled in a distribution package.
pkg_build_arguments = [ pkg_build_arguments = [
pkg_build_executable, pkg_build_executable,
"--identifier", ULTIMAKER_CURA_DOMAIN, "--identifier", f"{ULTIMAKER_CURA_DOMAIN}_{cura_version}", # If we want to replace previous version automatecially remove {cure_version}
"--version", cura_version,
"--component", "--component",
Path(dist_path, app_filename), Path(dist_path, app_filename),
Path(dist_path, component_filename), Path(dist_path, component_filename),