Skip to content

Commit 684a972

Browse files
committed
chore: add staple notarization ticket step
1 parent ba4a1fa commit 684a972

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ else ifeq ($(shell uname -s),Linux)
6464
else
6565
@echo "Starting notarization for macOS binaries..."
6666
@find build/bin -type f -perm +111 -exec env QUILL_NOTARY_KEY_ID="$(QUILL_NOTARY_KEY_ID)" QUILL_NOTARY_ISSUER="$(QUILL_NOTARY_ISSUER)" QUILL_NOTARY_KEY="$(QUILL_NOTARY_KEY)" quill notarize {} \;
67+
@echo "All macOS binaries notarized successfully"
68+
69+
@echo "Stapling notarization tickets to binaries..."
70+
@find build/bin -type f -perm +111 -exec xcrun stapler staple {} \;
71+
@echo "All notarization tickets stapled successfully"
72+
73+
@echo "Verifying notarization status..."
74+
@find build/bin -type f -perm +111 -exec xcrun stapler validate {} \;
75+
@echo "All macOS binaries verified as notarized"
6776
endif
6877

6978
package:

0 commit comments

Comments
 (0)