Fixed dmg Travis deployment.

This commit is contained in:
23rd 2019-08-12 14:10:09 +03:00
parent 25de149b37
commit 0f5e88e0c8

View file

@ -65,13 +65,16 @@ matrix:
- mkdir build && cd build - mkdir build && cd build
- dateOfBuild="CHATTERINO_NIGHTLY_VERSION_STRING=\"\\\"$(date +%d.%m.%Y)\\\"\"" - dateOfBuild="CHATTERINO_NIGHTLY_VERSION_STRING=\"\\\"$(date +%d.%m.%Y)\\\"\""
- /usr/local/opt/qt/bin/qmake .. DEFINES+=$dateOfBuild && make -j8 - /usr/local/opt/qt/bin/qmake .. DEFINES+=$dateOfBuild && make -j8
- /usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg
- mkdir app - mkdir app
- mv chatterino.app app/ - hdiutil attach chatterino.dmg
- cp -r /Volumes/chatterino/chatterino.app app/
- "create-dmg \ - "create-dmg \
--volname Chatterino2 \ --volname Chatterino2 \
--volicon ../resources/chatterino.icns \ --volicon ../resources/chatterino.icns \
--icon-size 50 \ --icon-size 50 \
--app-drop-link 0 0 \ --app-drop-link 0 0 \
--format UDBZ \
chatterino-osx.dmg app/" chatterino-osx.dmg app/"
before_deploy: before_deploy: