2017-11-05 18:14:52 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-01-13 13:59:48 +01:00
|
|
|
set -ex
|
2017-11-05 18:14:52 +01:00
|
|
|
|
2017-12-30 17:32:16 +01:00
|
|
|
TAG=`git tag -l --points-at HEAD`
|
|
|
|
|
2017-11-05 19:07:14 +01:00
|
|
|
# Add Qt binaries to path
|
|
|
|
PATH=/usr/local/opt/qt/bin/:${PATH}
|
|
|
|
|
2017-11-06 16:20:48 +01:00
|
|
|
sudo macdeployqt build/nheko.app -dmg
|
2017-11-05 18:14:52 +01:00
|
|
|
user=$(id -nu)
|
2017-11-06 16:20:48 +01:00
|
|
|
sudo chown ${user} build/nheko.dmg
|
|
|
|
mv build/nheko.dmg .
|