Merge pull request #1621 from nextcloud/mac-sign-timestamp

Add timestamp to Mac installer code signing
This commit is contained in:
Michael Schuster 2019-11-17 18:12:29 +01:00 committed by GitHub
commit e9e6b85bd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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