Skip to content

Commit

Permalink
notarise DMG
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrouget committed Sep 4, 2023
1 parent 5703eb4 commit 53c385d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,11 @@ if [ ! $skip_packaging == 1 ]; then
rm -rf $scripts_dir

if [ ! $skip_notary == 1 ] && [ ! $skip_signing == 1 ]; then
log "Sending .pkg to Apple for signing"
xcrun notarytool submit $target_dist_dir/$out_pkg_file --keychain-profile $package_mac_signing_keychain_profile --wait
log "Sending .pkg and .dmg to Apple for signing"
log "In case of issues, run \"xcrun notarytool log UUID --keychain-profile $package_mac_signing_keychain_profile\""
xcrun notarytool submit $target_dist_dir/$out_dmg_file --keychain-profile $package_mac_signing_keychain_profile --wait
xcrun stapler staple $target_dist_dir/$out_dmg_file
xcrun notarytool submit $target_dist_dir/$out_pkg_file --keychain-profile $package_mac_signing_keychain_profile --wait
xcrun stapler staple $target_dist_dir/$out_pkg_file
fi
fi
Expand Down

0 comments on commit 53c385d

Please sign in to comment.