Small changes to macos release candidate Makefile.
This commit is contained in:
parent
36cdaa4845
commit
22bf3d6727
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ BASE=pandoc-$(VERSION)
|
||||||
DEST=pandoc/usr/local
|
DEST=pandoc/usr/local
|
||||||
ALL=$(BASE)-macOS.pkg $(BASE)-macOS.zip
|
ALL=$(BASE)-macOS.pkg $(BASE)-macOS.zip
|
||||||
|
|
||||||
all: $(ALL)
|
all: $(ALL) notarize
|
||||||
|
|
||||||
signed.txt: $(DEST)
|
signed.txt: $(DEST)
|
||||||
chmod +x $(DEST)/bin/pandoc $(DEST)/bin/pandoc-citeproc
|
chmod +x $(DEST)/bin/pandoc $(DEST)/bin/pandoc-citeproc
|
||||||
|
@ -25,7 +25,7 @@ gon.hcl: version.txt
|
||||||
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}" > $@
|
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}" > $@
|
||||||
|
|
||||||
notarize: gon.hcl $(BASE)-macOS.pkg
|
notarize: gon.hcl $(BASE)-macOS.pkg
|
||||||
gon -log-level=info ./gon.hcl
|
gon -log-level=warn ./gon.hcl
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm signed.txt $(BASE) pandoc.pkg gon.hcl
|
rm signed.txt $(BASE) pandoc.pkg gon.hcl
|
||||||
|
|
Loading…
Reference in a new issue