feat(macos): universal .app/.pkg/.dmg packages, signing/notarization CI and Homebrew cask - #1689
Open
manuc66 wants to merge 1 commit into
Open
feat(macos): universal .app/.pkg/.dmg packages, signing/notarization CI and Homebrew cask#1689manuc66 wants to merge 1 commit into
manuc66 wants to merge 1 commit into
Conversation
…CI and Homebrew cask
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds real macOS distribution to the release pipeline.
What's new
node-hp-scan-to-v*-macos.pkgandnode-hp-scan-to-v*-macos.dmgon every release, built natively on a dedicatedmacosCI job (macos-latest)..appbundle (Intel + Apple Silicon vialipo), with proper icon,Info.plist, bundledconfig/default.jsonand the LaunchAgent reference.MACOS_SIGNING_IDENTITY,MACOS_INSTALLER_IDENTITY,MACOS_CERT_BASE64/_PASSWORD,MACOS_NOTARY_*). When none are configured the build falls back to unsigned, exactly like the Windows installer today.packaging/homebrew/node-hp-scan-to.rb) installing the universal.dmg.Pipeline
binariesjob (ubuntu) now uploads the two darwin binaries + all release artifacts.macosjob (needs: binaries) assembles.app, signs, notarizes and builds.pkg/.dmg.releasejob (needs: [binaries, macos]) gathers everything, generates checksums/SBOM, attests provenance and attaches to the GitHub release.wingetnow waits for it.Verified
.pkg(xar) and.dmg(Apple DMG v4) produced.bash -n, YAML valid, caskruby -cOK,pnpm lint+typecheckpass.Note
The macOS binaries were already cross-compiled since 1.11.0; this PR adds the native installer/app packaging on top. Signing/notarization need Apple Developer credentials which are not configured, so artifacts are unsigned for now.