matrixion/.ci/macos/deploy.sh

14 lines
236 B
Bash
Raw Normal View History

2017-11-05 20:14:52 +03:00
#!/usr/bin/env bash
set -e
TAG=`git tag -l --points-at HEAD`
2017-11-05 21:07:14 +03:00
# Add Qt binaries to path
PATH=/usr/local/opt/qt/bin/:${PATH}
2017-11-06 18:20:48 +03:00
sudo macdeployqt build/nheko.app -dmg
2017-11-05 20:14:52 +03:00
user=$(id -nu)
2017-11-06 18:20:48 +03:00
sudo chown ${user} build/nheko.dmg
mv build/nheko.dmg .