From 4324c8a9b20d1f4a224f487f86b0cda50dba1ab1 Mon Sep 17 00:00:00 2001 From: torakiki Date: Mon, 29 Apr 2024 12:10:59 +0200 Subject: [PATCH] Updated notarization script --- pdfsam-basic/src/dmg/notarize_dmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdfsam-basic/src/dmg/notarize_dmg.sh b/pdfsam-basic/src/dmg/notarize_dmg.sh index 0729c19cc..1b3352b84 100755 --- a/pdfsam-basic/src/dmg/notarize_dmg.sh +++ b/pdfsam-basic/src/dmg/notarize_dmg.sh @@ -17,7 +17,7 @@ mv "${project.build.directory}/PDFsam Basic-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.dmg" "${project.build.directory}/pdfsam-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.dmg" || exit 1 echo "dmg renamed" -xcrun altool --notarize-app --primary-bundle-id org.pdfsam.basic --username $APPLEID --password $APPLEIDPASS --file "${project.build.directory}/pdfsam-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.dmg" || exit 1 +xcrun notarytool submit --apple-id $APPLEID --password $APPLEIDPASS --team-id $TEAMID "${project.build.directory}/pdfsam-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.dmg" || exit 1 echo "dmg notarized" #stapling takes some time and it fails when run right after the notarization, we should probably wait few minutes