1
0
mirror of https://github.com/pfusik/xasm.git synced 2024-06-20 19:29:41 +00:00

Wait for macOS notarization.

This commit is contained in:
Piotr Fusik 2021-06-04 21:50:23 +02:00
parent da58ad7950
commit 274dda9dd2

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