Skip to content
Snippets Groups Projects
deploy.sh 274 B
Newer Older
  • Learn to ignore specific revisions
  • #!/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}
    
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    sudo macdeployqt build/nheko.app -dmg
    
    user=$(id -nu)
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    sudo chown ${user} build/nheko.dmg
    mv build/nheko.dmg .