From 274dda9dd27c1cc3d4648908d5a017a6e4e66941 Mon Sep 17 00:00:00 2001 From: Piotr Fusik Date: Fri, 4 Jun 2021 21:50:23 +0200 Subject: [PATCH] Wait for macOS notarization. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 67fb51d..6ca4bdc 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,8 @@ ifdef PORK_CODESIGNING_IDENTITY endif hdiutil create -volname xasm-$(VERSION)-macos -srcfolder osx -format UDBZ -fs HFS+ -imagekey bzip2-level=3 -ov $@ ifdef PORK_NOTARIZING_CREDENTIALS - xcrun altool --notarize-app --primary-bundle-id com.github.pfusik.xasm $(PORK_NOTARIZING_CREDENTIALS) --file $@ + xcrun altool --notarize-app --primary-bundle-id com.github.pfusik.xasm $(PORK_NOTARIZING_CREDENTIALS) --file $@ | + | perl -pe 's/^RequestUUID =/xcrun altool $$ENV{PORK_NOTARIZING_CREDENTIALS} --notarization-info/ or next; $$c = $$_; until (/Status: success/) { sleep 20; $$_ = `$$c`; print; } last;' endif osx/xasm: source/app.d