MacOSX: Ensure that time-stamping is always activated when performing code signing by using --timestamp switch.

This commit is contained in:
Mounir IDRASSI 2016-01-17 12:39:50 +01:00
parent 3cda204626
commit 90957cd9d9
1 changed files with 2 additions and 2 deletions

View File

@ -174,9 +174,9 @@ endif
echo -n APPLTRUE >$(APPNAME).app/Contents/PkgInfo
sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.xml >$(APPNAME).app/Contents/Info.plist
codesign -s "Developer ID Application: Mounir IDRASSI" $(APPNAME).app
codesign -s "Developer ID Application: Mounir IDRASSI" --timestamp $(APPNAME).app
/usr/local/bin/packagesbuild $(PWD)/Setup/MacOSX/veracrypt.pkgproj
productsign --sign "Developer ID Installer: Mounir IDRASSI" "$(PWD)/Setup/MacOSX/VeraCrypt $(TC_VERSION).pkg" $(PWD)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg
productsign --sign "Developer ID Installer: Mounir IDRASSI" --timestamp "$(PWD)/Setup/MacOSX/VeraCrypt $(TC_VERSION).pkg" $(PWD)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg
rm -f $(APPNAME)_$(TC_VERSION).dmg
rm -f "$(PWD)/Setup/MacOSX/template.dmg"
rm -fr "$(PWD)/Setup/MacOSX/VeraCrypt_dmg"