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

9 lines
267 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.zip
mkdir nightly
cd ./build
sudo python ../CI/install/osx/build_app.py
sudo zip -r -X $FILENAME OBS.app
sudo mv ./$FILENAME ../nightly