diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-03-19 18:53:43 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-03-19 18:53:43 -0700 |
commit | 128409f387bad63de4496ac5f8f2f697edf0092f (patch) | |
tree | c5f3df03df6d83d5d23e528fcd1c2af74d64ba8a /make_osx_package.sh | |
parent | 06bfac109512a2b86e24f377d20224195bdb2f53 (diff) |
Don't hardcode pandoc version in osx/distribution.xml.
Instead, create it from a template, distribution.xml.in.
Diffstat (limited to 'make_osx_package.sh')
-rwxr-xr-x | make_osx_package.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh index 53687a6d7..4a9f03b95 100755 --- a/make_osx_package.sh +++ b/make_osx_package.sh @@ -61,6 +61,8 @@ echo Creating OSX package... # remove old package first rm -rf $BASE.pkg +sed -e "s/PANDOCVERSION/$VERSION/" osx/distribution.xml.in > osx/distribution.xml + pkgbuild --root $DIST/pandoc --identifier net.johnmacfarlane.pandoc --version 1.13 --ownership recommended $DIST/pandoc.pkg productbuild --distribution osx/distribution.xml --resources $DIST/Resources --package-path $DIST --version $VERSION --sign "${DEVELOPER_ID_INSTALLER}" $BASE-osx.pkg |