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

11 lines
314 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
sudo python ../CI/install/osx/build_app.py
packagesbuild ../CI/install/osx/CMakeLists.pkgproj
sudo cp OBS.pkg ./$FILENAME
sudo mv ./$FILENAME ../nightly