Skip to content

Conversation

@Dexus
Copy link
Member

@Dexus Dexus commented Jul 1, 2025

This pull request introduces significant updates to the build and release workflows, focusing on macOS notarization, code signing, and artifact handling. It also includes changes to the package.json configuration and dependencies to support these enhancements. Below is a summary of the most important changes grouped by theme.

Build and Release Workflow Enhancements:

  • Added macOS notarization and code signing setup in .github/workflows/build_release.yml, including keychain management, certificate import, and artifact uploading.
  • Introduced new macOS-specific environment configuration (environment: "deepnest-test") in the workflow.

MacOS Notarization:

  • Created _build/entitlements.mac.plist to define macOS app entitlements, such as allowing JIT and read/write access to user-selected files.
  • Added helper_scripts/sign_mac.js for macOS app notarization using @electron/notarize.

Package Configuration Updates:

  • Updated package.json to include macOS-specific build targets (dmg, zip, pkg) and enable hardened runtime, entitlements, notarization, and language settings.
  • Added new build scripts (build-dist:mac, build-dist:mac-signed) and updated dependencies to support macOS notarization and signing. [1] [2]

Artifact Handling:

  • Enhanced artifact uploading logic in .github/workflows/build_release.yml, including dynamic artifact discovery and GitHub CLI-based uploads.

These changes collectively improve the macOS build process, ensure compliance with Apple's notarization requirements, and streamline artifact management.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants