From 838503ef6ee59bdb1bf7586b63617f680030874c Mon Sep 17 00:00:00 2001 From: Dan Nagle Date: Sat, 26 Feb 2022 14:35:41 -0600 Subject: [PATCH] adding timestamp to Mac codesign for notary --- ci_cd/mac/mac-build.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ci_cd/mac/mac-build.sh b/ci_cd/mac/mac-build.sh index 7a5e274d..1276dd2e 100755 --- a/ci_cd/mac/mac-build.sh +++ b/ci_cd/mac/mac-build.sh @@ -44,15 +44,14 @@ sed -i '' 's/1.0<\/string>/'$BUILD_VERSION'<\/string>/' Info.pli "/Users/dannagle/Qt/5.15.2/clang_64/bin/qmake" PacketSender.pro -spec macx-clang CONFIG+=x86_64 make -/Users/dannagle/Qt/5.15.2/clang_64/bin/macdeployqt PacketSender.app -appstore-compliant -codesign --option runtime --deep --force --sign "Developer ID Application: NagleCode, LLC (C77T3Q8VPT)" packetsender.app -mv packetsender.app PacketSender2.app -mv PacketSender2.app PacketSender.app +/Users/dannagle/Qt/5.15.2/clang_64/bin/macdeployqt packetsender.app -appstore-compliant +codesign --option runtime --deep --force --sign 38E41C6C66CCA827750A10E26539E038F033E933 --timestamp packetsender.app +mv packetsender.app PacketSender.app rm -rf /Users/dannagle/github/PacketSender/PacketSender.app || true mv PacketSender.app /Users/dannagle/github/PacketSender rm -rf newbuild.dmg || true -"/Applications/DMG Canvas.app/Contents/Resources/dmgcanvas" "/Users/dannagle/github/PacketSender/PacketSender.dmgCanvas" newbuild.dmg -notarizationPrimaryBundleID "com.packetsender.desktop" -identity "Developer ID Application: NagleCode, LLC (C77T3Q8VPT)" -notarizationAppleID "$2" -notarizationPassword "$3" +"/Applications/DMG Canvas.app/Contents/Resources/dmgcanvas" "/Users/dannagle/github/PacketSender/PacketSender.dmgCanvas" newbuild.dmg -notarizationPrimaryBundleID "com.packetsender.desktop" -identity "38E41C6C66CCA827750A10E26539E038F033E933" -notarizationAppleID "$2" -notarizationPassword "$3" rm -rf /Users/dannagle/github/PacketSender/PacketSender_v$BUILD_VERSION.dmg || true mv newbuild.dmg /Users/dannagle/github/PacketSender/PacketSender_v$BUILD_VERSION.dmg