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

9 lines
258 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)
export FILENAME=$FILE_DATE-$GIT_HASH-osx.zip
mkdir nightly
cd ./build
sudo python3 ../CI/install/osx/build_app.py
zip -r -X $FILENAME OBS.app
mv ./$FILENAME ../nightly