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