From 5f07af7ff22a88ff8a83c134b016ef8615e09aed Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Fri, 5 May 2023 12:00:28 +0200 Subject: [PATCH] Ensure notarization succeeded --- elixirkit/elixirkit_swift/Scripts/build_macos_dmg.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/elixirkit/elixirkit_swift/Scripts/build_macos_dmg.sh b/elixirkit/elixirkit_swift/Scripts/build_macos_dmg.sh index 05797c3eb..28b138c6e 100644 --- a/elixirkit/elixirkit_swift/Scripts/build_macos_dmg.sh +++ b/elixirkit/elixirkit_swift/Scripts/build_macos_dmg.sh @@ -29,12 +29,12 @@ hdiutil create $dmg_path -ov -volname ${app_name}Install -fs HFS+ -srcfolder $dm if [ -n "$team_id" ]; then xcrun notarytool submit \ - --team-id "${team_id}" \ - --apple-id "${apple_id}" \ - --password "${password}" \ + --team-id "${team_id}" --apple-id "${apple_id}" --password "${password}" \ --progress \ --wait \ - $dmg_path + $dmg_path \ + | tee /dev/tty | grep -q "status: Accepted" + echo "notarization ok" else echo "[warning] skipping notarization. Please set ELIXIRKIT_NOTARY_{TEAM_ID,APPLE_ID,PASSWORD} environment variables" fi