2016-10-09 15:26:44 -07:00
|
|
|
export GIT_HASH=$(git rev-parse --short HEAD)
|
|
|
|
export FILE_DATE=$(date +%Y-%m-%d.%H:%M:%S)
|
2017-01-12 18:52:30 -08:00
|
|
|
export FILENAME=$FILE_DATE-$GIT_HASH-osx.pkg
|
2016-10-09 15:26:44 -07:00
|
|
|
mkdir nightly
|
2016-10-11 18:47:22 -07:00
|
|
|
cd ./build
|
2017-01-19 08:15:41 -08:00
|
|
|
mv ./rundir/RelWithDebInfo/obs-plugins/CEF.app ./
|
|
|
|
mv ./rundir/RelWithDebInfo/obs-plugins/obs-browser.so ./
|
2016-10-13 17:30:23 -07:00
|
|
|
sudo python ../CI/install/osx/build_app.py
|
2017-01-19 08:15:41 -08:00
|
|
|
mv ./CEF.app ./rundir/RelWithDebInfo/obs-plugins/
|
|
|
|
mv ./obs-browser.so ./rundir/RelWithDebInfo/obs-plugins/
|
2017-01-15 09:17:13 -08:00
|
|
|
packagesbuild ../CI/install/osx/CMakeLists.pkgproj
|
2017-01-12 18:52:30 -08:00
|
|
|
|
|
|
|
sudo cp OBS.pkg ./$FILENAME
|
2017-01-09 18:50:39 -08:00
|
|
|
sudo mv ./$FILENAME ../nightly
|