forked from VCVRack/Rack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
make notarize
target to Makefile
- Loading branch information
1 parent
139f9a0
commit b4fe16e
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,6 +125,7 @@ ifdef ARCH_MAC | |
cp plugins/Fundamental/dist/*.zip dist/$(TARGET).app/Contents/Resources/Fundamental.zip | ||
# Clean up and sign bundle | ||
xattr -cr dist/$(TARGET).app | ||
# This will only work if you have the private key to my certificate | ||
codesign --sign "Developer ID Application: Andrew Belt (VRF26934X5)" --verbose dist/$(TARGET).app | ||
codesign --verify --deep --strict --verbose=2 dist/$(TARGET).app | ||
spctl -a -t exec -vv dist/$(TARGET).app | ||
|
@@ -162,9 +163,15 @@ endif | |
cd dist && zip -q -9 -r Rack-SDK-$(VERSION).zip Rack-SDK | ||
|
||
|
||
# Obviously this will only work if you have the private keys to my server | ||
notarize: | ||
# This will only work if you have my Apple ID password in your keychain | ||
ifdef ARCH_MAC | ||
xcrun altool --notarize-app -f dist/Rack-$(VERSION)-$(ARCH).zip --primary-bundle-id="RACK" -u "[email protected]" -p @keychain:notarize | ||
endif | ||
|
||
UPLOAD_URL := [email protected]:files/ | ||
upload: | ||
# This will only work if you have a private key to my server | ||
ifdef ARCH_MAC | ||
rsync dist/*.zip $(UPLOAD_URL) -zP | ||
endif | ||
|