Wait for macOS notarization.

This commit is contained in:
Piotr Fusik 2021-06-04 21:50:23 +02:00
parent da58ad7950
commit 274dda9dd2
1 changed files with 2 additions and 1 deletions

View File

@ -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