Experiment with PKG package scripts
This commit is contained in:
parent
e531bbedb5
commit
1721d155fd
|
@ -475,10 +475,10 @@
|
||||||
</copy-replace>
|
</copy-replace>
|
||||||
|
|
||||||
<exec executable="pkgbuild" dir="${dir.staging}" failonerror="yes">
|
<exec executable="pkgbuild" dir="${dir.staging}" failonerror="yes">
|
||||||
<arg line="@{package.name}.pkg --component ${application.name}.app --scripts installer/pkg/scripts" />
|
<arg line="@{package.name}.pkg --component ${dir.dist}/app/${application.name}.app --scripts installer/pkg/scripts" />
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="productbuild" dir="${dir.staging}" failonerror="yes">
|
<exec executable="productbuild" dir="${dir.staging}" failonerror="yes">
|
||||||
<arg line="${dir.dist}/${release}.pkg --distribution dist/distribution.xml --package-path . --sign 'Developer ID Installer: ${package.company}'" />
|
<arg line="${dir.dist}/${release}.pkg --distribution distribution.xml --package-path . --sign 'Developer ID Installer: ${package.company}'" />
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue