Open dhrogers opened 5 years ago
@dhrogers I can't get the mac installer to work locally.
➜ installer git:(master) ✗ ./build_installer_mac
Cleaning packages/cinemascope/data ...
Copying current build ...
Running mac delpoyment ...
Creating installer ...
[11438] Warning: QFile::at: Cannot set file position 0
[11438] Critical: Error occurred while assembling the installer: Read failed after 0 bytes: Unknown error
Cleaning packages/cinemascope/data ...
I had to change the paths to my locations in build_installer_mac.
#!/bin/bash
QTBIN="`which qmake | sed 's/\/qmake//g'`"
BINARYCREATOR="/Users/stam/qt-installer-framework-opensource-src-3.0.6/bin/binarycreator"
DEPLOY="$QTBIN/macdeployqt"
APP="cinema_scope.app"
echo "Cleaning packages/cinemascope/data ..."
rm -rf packages/cinemascope/data/$APP
echo "Copying current build ..."
cp -rf ../build/release/$APP packages/cinemascope/data
echo "Running mac delpoyment ..."
$DEPLOY packages/cinemascope/data/$APP
echo "Creating installer ..."
$BINARYCREATOR -t /Users/stam/qt-installer-framework-opensource-src-3.0.6/bin/installerbase -c config/config.xml -p packages CinemaScope.dmg
echo "Cleaning packages/cinemascope/data ..."
rm -rf packages/cinemascope/data/$APP
Using the scripts in installer/ directory for the mac build, automate build and posting of mac installer package when a successful push/build happens
This should go to a 'current build' location, similar to ParaView's nightly build.