git.iko.soy/typeable/pandoc
on master help sign in
macos/Makefile - add notarize target.
c173668John MacFarlane
macos/Makefile+7−1
@@ -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)
23
23
24+gon.hcl: version.txt
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}" > $@
26+
27+notarize: gon.hcl $(BASE)-macOS.pkg
28+ gon -log-level=info ./gon.hcl
29+
24clean:
30clean:
25− rm signed.txt $(BASE) pandoc.pkg
31+ rm signed.txt $(BASE) pandoc.pkg gon.hcl
26
32
27distclean: clean
33distclean: clean
28 rm $(ALL)
34 rm $(ALL)