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

8 lines
236 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/rundir/RelWithDebInfo
zip -r -X $FILENAME .
mv ./$FILENAME ../../../nightly