@@ -21,8 +21,14 @@ $(BASE)-macOS.zip: signed.txt
21 ln -s $(DEST) $(BASE)
21 ln -s $(DEST) $(BASE)
22 zip -r $@ $(BASE)
22 zip -r $@ $(BASE)
25+ echo "notarize {\n path = \"$(BASE)-macOS.pkg\"\n bundle_id = \"org.pandoc.pandoc\"\n staple = true\n}\napple_id {\n username = \"jgm@berkeley.edu\"\n password = \"@env:AC_PASSWORD\"\n}" > $@
27+notarize: gon.hcl $(BASE)-macOS.pkg
28+ gon -log-level=info ./gon.hcl
25− rm signed.txt $(BASE) pandoc.pkg
31+ rm signed.txt $(BASE) pandoc.pkg gon.hcl
27distclean: clean
33distclean: clean