matrixion/.ci/macos/deploy.sh

14 lines
237 B
Bash
Raw Permalink Normal View History

2017-11-05 20:14:52 +03:00
#!/usr/bin/env bash
2018-01-13 15:59:48 +03:00
set -ex
2017-11-05 20:14:52 +03:00
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 .