git.iko.soy/typeable/pandoc
on master help sign in
macos/Makefile - add notarize target.
commitc17366893892caa0131152db219dbeba27b3f6f4 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 22 Mar 2020, 10:50 (7 years ago) parent9b00526
1 file changed+7−1
macos/Makefile+7−1
macos/Makefile+7−1
@@ -21,8 +21,14 @@ $(BASE)-macOS.zip: signed.txt
2121 ln -s $(DEST) $(BASE)
2222 zip -r $@ $(BASE)
2323
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+
2430clean:
25− rm signed.txt $(BASE) pandoc.pkg
31+ rm signed.txt $(BASE) pandoc.pkg gon.hcl
2632
2733distclean: clean
2834 rm $(ALL)