Просмотр исходного кода

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 6 лет назад
Родитель
Сommit
3b5966bba0
1 измененных файлов с 1 добавлено и 1 удалено
  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
 if [ ! -z "$identity" ]; then
 	echo "Will try to sign the installer"
 	echo "Will try to sign the installer"
 	pushd $install_path
 	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"
 	mv "$installer_file".new "$installer_file"
 	popd
 	popd
 else
 else