changeset 630:e77c6e2f6453

Minor tweaks to Mac packaging
author Chris Cannam
date Thu, 10 Oct 2019 14:54:10 +0100
parents 74e8894027c7
children 22724d007706
files deploy/osx/deploy-and-package.sh
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/osx/deploy-and-package.sh	Thu Oct 10 14:35:40 2019 +0100
+++ b/deploy/osx/deploy-and-package.sh	Thu Oct 10 14:54:10 2019 +0100
@@ -38,6 +38,9 @@
 cp CITATION "$volume/CITATION.txt"
 cp -rp "$source" "$target"
 
+# update file timestamps so as to make the build date apparent
+find "$volume" -exec touch \{\} \;
+
 echo "Done"
 
 echo
@@ -58,6 +61,11 @@
 echo "Done"
 
 echo
+echo "Signing dmg..."
+
+codesign -s "Developer ID Application: Chris Cannam" -fv "$dmg"
+
+echo
 echo "Submitting dmg for notarization..."
 
 deploy/osx/notarize.sh "$dmg" || exit 1