Skip to content

Commit

Permalink
Update notarization command.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Sep 18, 2023
1 parent 3bd1f5f commit a1c153b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,12 @@ dmg:
rm -f htmldoc/htmldoc.zip
ditto -c -k --keepParent htmldoc/htmldoc.app htmldoc/htmldoc.zip
echo Notarizing application
xcrun altool --notarize-app -f htmldoc/htmldoc.zip \
--primary-bundle-id org.msweet.htmldoc \
--username "$(APPLEID)" \
--password "@keychain:AC_$(TEAMID)" \
--asc-provider "$(TEAMID)"
xcrun notarytool submit htmldoc/htmldoc.zip \
--apple-id "$${APPLEID}" \
--keychain-profile "AC_$${TEAMID}" \
--team-id "$${TEAMID}" \
--wait
xcrun stapler staple htmldoc/htmldoc.app
echo Making disk image
rm -f ~/Desktop/htmldoc-$(VERSION)-macos.dmg
dmgbuild -s dmgbuild.py "HTMLDOC $(VERSION)" ~/Desktop/htmldoc-$(VERSION)-macos.dmg

0 comments on commit a1c153b

Please sign in to comment.