mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 01:50:47 +03:00
17 lines
274 B
Bash
Executable file
17 lines
274 B
Bash
Executable file
#!/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 .
|