From 483c4ec8c4350109c560f7c4795b61bb827df864 Mon Sep 17 00:00:00 2001 From: jared Date: Sat, 3 Aug 2019 23:42:31 +0800 Subject: [PATCH] update ci script --- .travis.yml | 4 ++-- appveyor.yml | 2 +- scripts/macos/deploy.sh | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index a6455bd7..f0e7083d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ matrix: - os: linux dist: xenial env: - releaseName=TaoQuickDemo_ubuntu_xenial_x64.AppImage + releaseName=TaoQuickApp_ubuntu_xenial_x64.AppImage cache: apt: true directories: @@ -16,7 +16,7 @@ matrix: - os: osx osx_image: xcode10.2 env: - releaseName=TaoQuickDemo_macos10-14_xcode10-2.dmg + releaseName=TaoQuickApp_macos10-14_xcode10-2.dmg before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then chmod a+x ./scripts/macos/install.sh; ./scripts/macos/install.sh; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod a+x ./scripts/ubuntu/install.sh; ./scripts/ubuntu/install.sh; fi diff --git a/appveyor.yml b/appveyor.yml index 0f695471..7c3032d4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,7 +16,7 @@ build_script: - qmake - nmake after_build: - - if "%APPVEYOR_REPO_TAG%"=="true" windeployqt bin\release\TaoQuickDemo.exe --qmldir %QTDIR%\qml + - if "%APPVEYOR_REPO_TAG%"=="true" windeployqt bin\release\TaoQuickApp.exe --qmldir %QTDIR%\qml artifacts: - path: bin name: $(releaseName) diff --git a/scripts/macos/deploy.sh b/scripts/macos/deploy.sh index fce84f09..7630d221 100644 --- a/scripts/macos/deploy.sh +++ b/scripts/macos/deploy.sh @@ -1,5 +1,5 @@ #! /bin/bash -mkdir bin/release/TaoQuickDemo.app/Contents/Resources/qml -cp -R bin/release/TaoQuick bin/release/TaoQuickDemo.app/Contents/Resources/qml/TaoQuick -/usr/local/opt/qt/bin/macdeployqt bin/release/TaoQuickDemo.app -qmldir=/usr/local/opt/qt/qml -verbose=1 -dmg -mv bin/release/TaoQuickDemo.dmg bin/release/TaoQuickDemo_macos10-14_xcode10-2.dmg +mkdir bin/release/TaoQuickApp.app/Contents/Resources/qml +cp -R bin/release/TaoQuick bin/release/TaoQuickApp.app/Contents/Resources/qml/TaoQuick +/usr/local/opt/qt/bin/macdeployqt bin/release/TaoQuickApp.app -qmldir=/usr/local/opt/qt/qml -verbose=1 -dmg +mv bin/release/TaoQuickApp.dmg bin/release/TaoQuickApp_macos10-14_xcode10-2.dmg