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