Merge pull request #1201 from 23rd/patch-34-fix-dmg

Fixed dmg Travis deployment.
This commit is contained in:
pajlada 2019-08-13 00:39:59 +02:00 committed by GitHub
commit 2143a8caac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: