0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
obs-studio/CI/before-deploy-osx.sh
Colin Edwards 991c8bd352 CI: Move browser source before building app
The buildapp.py script was modifying the CEF.app when we don't want it to. It was also packaging the plugin inside the OBS.app so the app was not using the one under /Library
2017-01-19 10:15:41 -06:00

15 lines
528 B
Bash
Executable File

export GIT_HASH=$(git rev-parse --short HEAD)
export FILE_DATE=$(date +%Y-%m-%d.%H:%M:%S)
export FILENAME=$FILE_DATE-$GIT_HASH-osx.pkg
mkdir nightly
cd ./build
mv ./rundir/RelWithDebInfo/obs-plugins/CEF.app ./
mv ./rundir/RelWithDebInfo/obs-plugins/obs-browser.so ./
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
sudo cp OBS.pkg ./$FILENAME
sudo mv ./$FILENAME ../nightly