obs-studio/CI/before-deploy-osx.sh

15 lines
528 B
Bash
Raw Normal View History

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
cd ./build
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
mv ./CEF.app ./rundir/RelWithDebInfo/obs-plugins/
mv ./obs-browser.so ./rundir/RelWithDebInfo/obs-plugins/
packagesbuild ../CI/install/osx/CMakeLists.pkgproj
2017-01-12 18:52:30 -08:00
sudo cp OBS.pkg ./$FILENAME
sudo mv ./$FILENAME ../nightly