aboutsummaryrefslogtreecommitdiff
path: root/make_osx_package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_osx_package.sh')
-rwxr-xr-xmake_osx_package.sh2
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