diff --git a/.github/workflows/cura-installer.yml b/.github/workflows/cura-installer.yml index dff7b70256..8a7cff58f6 100644 --- a/.github/workflows/cura-installer.yml +++ b/.github/workflows/cura-installer.yml @@ -251,7 +251,7 @@ jobs: if "${{ runner.os }}" == "Windows": installer_ext = "msi" if "${{ inputs.msi_installer }}" == "true" else "exe" elif "${{ runner.os }}" == "macOS": - installer_ext = "pkg" if "${{ inputs.mis_installer }}" == "true" else "dmg" + installer_ext = "pkg" if "${{ inputs.msi_installer }}" == "true" else "dmg" else: installer_ext = "AppImage" output_env = os.environ["GITHUB_OUTPUT"] diff --git a/packaging/MacOS/build_macos.py b/packaging/MacOS/build_macos.py index 3dbb3652f5..cc8ab0e2a4 100644 --- a/packaging/MacOS/build_macos.py +++ b/packaging/MacOS/build_macos.py @@ -129,13 +129,11 @@ def create_dmg(filename: str, dist_path: str, source_path: str) -> None: @param source_path: The location of the project source files """ - dmg_filename = f"{filename}.dmg" - - build_dmg(source_path, dist_path, dmg_filename) + build_dmg(source_path, dist_path, filename) notarize_dmg = bool(os.environ.get("NOTARIZE_DMG", "TRUE")) if notarize_dmg: - notarize_file(dist_path, dmg_filename) + notarize_file(dist_path, filename) if __name__ == "__main__":