shorebird
shorebird copied to clipboard
feat: Add support for signing macOS PKG installers and implement productbuild functionality
PR: Add support for signing macOS PKG installers and implement productbuild functionality
Description
This PR introduces support for signing macOS PKG installers and implements the necessary productbuild functionality. The changes include:
- Added a wrapper for the
productbuildcommand to create signed PKG installers. - Updated the macOS release flow to optionally generate a signed PKG installer if a signing identity is provided.
- Extended CLI options to allow specifying a Developer ID Installer identity for PKG signing.
- Added tests for the new productbuild functionality.
Type of Change
- [ ] โจ New feature (non-breaking change which adds functionality)
- [ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
- [ ] โ Breaking change (fix or feature that would cause existing functionality to change)
- [ ] ๐งน Code refactor
- [ ] โ Build configuration change
- [ ] ๐ Documentation
- [ ] ๐๏ธ Chore
Files Changed
packages/shorebird_cli/bin/shorebird.dartpackages/shorebird_cli/lib/src/commands/release/macos_releaser.dartpackages/shorebird_cli/lib/src/commands/release/release_command.dartpackages/shorebird_cli/lib/src/executables/executables.dartpackages/shorebird_cli/lib/src/executables/productbuild.dart(new)packages/shorebird_cli/test/src/executables/productbuild_test.dart(new)
Summary
- Implements signed PKG installer creation for macOS releases.
- Adds CLI option for specifying PKG signing identity.
- Adds productbuild wrapper and related tests.
Please review and let me know if further changes are needed.
This looks really exciting.