summary refs log tree commit diff
path: root/.ci/macos/deploy.sh
blob: 7d28b81ef85afdda289f1283303d06a1c2fa4ca7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash

set -e

TAG=`git tag -l --points-at HEAD`

if [ -z "$TAG" ]; then
    exit 0
fi

# Add Qt binaries to path
PATH=/usr/local/opt/qt/bin/:${PATH}

sudo macdeployqt build/nheko.app -dmg
user=$(id -nu)
sudo chown ${user} build/nheko.dmg
mv build/nheko.dmg .