From 562df060d3d2eee6a2395146c32d453143dfc910 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 5 Nov 2017 20:07:14 +0200 Subject: [PATCH] Specify artifacts per build --- .ci/linux/deploy.sh | 3 +-- .ci/macos/deploy.sh | 5 +++-- .travis.yml | 29 ++++++++++++++++++++--------- 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/.ci/linux/deploy.sh b/.ci/linux/deploy.sh index 6a4fb6be..78245322 100755 --- a/.ci/linux/deploy.sh +++ b/.ci/linux/deploy.sh @@ -17,5 +17,4 @@ unset LD_LIBRARY_PATH ./linuxdeployqt*.AppImage ./appdir/*.desktop -bundle-non-qt-libs ./linuxdeployqt*.AppImage ./appdir/*.desktop -appimage -export ARTIFACT=nheko-x86_64.AppImage -chmod +x $ARTIFACT +chmod +x nheko-x86_64.AppImage diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh index 01fed1b8..7e551e9d 100755 --- a/.ci/macos/deploy.sh +++ b/.ci/macos/deploy.sh @@ -2,11 +2,12 @@ set -e +# Add Qt binaries to path +PATH=/usr/local/opt/qt/bin/:${PATH} + cp -fp ./build/nheko dist/MacOS/Nheko.app/Contents/MacOS sudo macdeployqt dist/MacOS/Nheko.app -dmg user=$(id -nu) sudo chown ${user} dist/MacOS/Nheko.dmg mv dist/MacOS/Nheko.dmg . - -export ARTIFACT=Nheko.dmg diff --git a/.travis.yml b/.travis.yml index 029ff778..5f2f3027 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,12 +31,23 @@ script: - if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/deploy.sh; fi deploy: - skip_cleanup: true - overwrite: true - provider: releases - api_key: - secure: oprXzESukFiXBeF2BXkXUlegsAQc95Ub4kc/OkoNFaYBvqpA+IGpWHmHCx5JPny/OT3Kc2Urpe2JUeGSWDHZ7UCKDjH+NzGP3uN82fHh/HiszG/Srw7+hWEHm1ve+gMK9GS8pr+yUsUrPP0UfVXlPoI4pBWa4zGi2Ndb/SqvjCgIHFLtGyoBo6CydKQ/AyWiXSMKDfJL+Dx4JLIPP4RTCBJy8ZrZ8m/a5Tgy4Ij6+djjrgYCZCEhGxSYw7xDIT/9SV8g9NkrbisqBDrILzAH8Yhe4XMRMXo88OAxV5+Vb9Rw1hrqczez6lpFDbJetv8MjofND+pSoAFwtjaL1wTFK9Ud6w4O9AuHlEQH9cGVdvsxFcosRwJVh58x51JM9ptoktqhx/HHJBTuCHCYYlHwtRwbwqnMYdLzKZG5FnujT8DG+9mcva1fL6tzW/XD505VPMWwXFC/2/pvolgAkTFFXYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU= - file: $ARTIFACT - on: - repo: mujx/nheko - tags: true + - skip_cleanup: true + overwrite: true + provider: releases + api_key: + secure: oprXzESukFiXBeF2BXkXUlegsAQc95Ub4kc/OkoNFaYBvqpA+IGpWHmHCx5JPny/OT3Kc2Urpe2JUeGSWDHZ7UCKDjH+NzGP3uN82fHh/HiszG/Srw7+hWEHm1ve+gMK9GS8pr+yUsUrPP0UfVXlPoI4pBWa4zGi2Ndb/SqvjCgIHFLtGyoBo6CydKQ/AyWiXSMKDfJL+Dx4JLIPP4RTCBJy8ZrZ8m/a5Tgy4Ij6+djjrgYCZCEhGxSYw7xDIT/9SV8g9NkrbisqBDrILzAH8Yhe4XMRMXo88OAxV5+Vb9Rw1hrqczez6lpFDbJetv8MjofND+pSoAFwtjaL1wTFK9Ud6w4O9AuHlEQH9cGVdvsxFcosRwJVh58x51JM9ptoktqhx/HHJBTuCHCYYlHwtRwbwqnMYdLzKZG5FnujT8DG+9mcva1fL6tzW/XD505VPMWwXFC/2/pvolgAkTFFXYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU= + file: nheko-x86_64.AppImage + on: + condition: $TRAVIS_OS_NAME == linux + repo: mujx/nheko + tags: true + - skip_cleanup: true + overwrite: true + provider: releases + api_key: + secure: oprXzESukFiXBeF2BXkXUlegsAQc95Ub4kc/OkoNFaYBvqpA+IGpWHmHCx5JPny/OT3Kc2Urpe2JUeGSWDHZ7UCKDjH+NzGP3uN82fHh/HiszG/Srw7+hWEHm1ve+gMK9GS8pr+yUsUrPP0UfVXlPoI4pBWa4zGi2Ndb/SqvjCgIHFLtGyoBo6CydKQ/AyWiXSMKDfJL+Dx4JLIPP4RTCBJy8ZrZ8m/a5Tgy4Ij6+djjrgYCZCEhGxSYw7xDIT/9SV8g9NkrbisqBDrILzAH8Yhe4XMRMXo88OAxV5+Vb9Rw1hrqczez6lpFDbJetv8MjofND+pSoAFwtjaL1wTFK9Ud6w4O9AuHlEQH9cGVdvsxFcosRwJVh58x51JM9ptoktqhx/HHJBTuCHCYYlHwtRwbwqnMYdLzKZG5FnujT8DG+9mcva1fL6tzW/XD505VPMWwXFC/2/pvolgAkTFFXYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU= + file: Nheko.dmg + on: + condition: $TRAVIS_OS_NAME == osx + repo: mujx/nheko + tags: true