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

16 lines
510 B
Bash
Raw Normal View History

2017-01-12 18:52:30 -08:00
curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/packagesbuild
chmod +x ./packagesbuild
curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/packagesutil
chmod +x ./packagesutil
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
2016-10-13 17:30:23 -07:00
sudo python ../CI/install/osx/build_app.py
../packagesbuild ../CI/install/osx/CMakeLists.pkgproj
2017-01-12 18:52:30 -08:00
sudo cp OBS.pkg ./$FILENAME
sudo mv ./$FILENAME ../nightly