Procházet zdrojové kódy

Add timestamp to Mac installer code signing

Use the --timestamp option for 'productsign' to add a secure timestamp.

See: https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/resolving_common_notarization_issues

Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster před 6 roky
rodič
revize
3b5966bba0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      admin/osx/create_mac.sh.cmake

+ 1 - 1
admin/osx/create_mac.sh.cmake

@@ -49,7 +49,7 @@ fi
 if [ ! -z "$identity" ]; then
 	echo "Will try to sign the installer"
 	pushd $install_path
-	productsign --sign "$identity" "$installer_file" "$installer_file.new"
+	productsign --timestamp --sign "$identity" "$installer_file" "$installer_file.new"
 	mv "$installer_file".new "$installer_file"
 	popd
 else