matrixion/.ci/macos/deploy.sh

18 lines
294 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}
2018-04-28 17:28:26 +03:00
pushd build
sudo macdeployqt nheko.app -dmg
2017-11-05 20:14:52 +03:00
user=$(id -nu)
2018-04-28 17:28:26 +03:00
sudo chown ${user} nheko.dmg
mv nheko.dmg ..
popd
dmgbuild -s ./.ci/macos/settings.json "Nheko" nheko.dmg