From 44a214a299279c15c8cfc08ccac86ef4bc0601e9 Mon Sep 17 00:00:00 2001 From: Stavros Avramidis Date: Thu, 14 May 2020 10:42:12 +0300 Subject: [PATCH] fix windows build zipping Signed-off-by: Stavros Avramidis --- .travis.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4828bc1..ccb06e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,8 +55,17 @@ after_success: zip -r tidal-rpc-osx.zip tidal-rpc.app; fi - if [[ $TRAVIS_OS_NAME == "windows" ]]; then - - windeployqt tidal-rpc.exe - - powershell -Command "ls ; Get-ChildItem -Path *.exe , *.dll , ../*/imageformats* , ../*/platforms , ../*/styles , ./LICENSE | Compress-Archive -DestinationPath tidal-rpc-win.zip -Force" + - windeployqt tidal-rpc.exe; + - mkdir Release; + - copy *.exe Release; + - copy *.dll Release; + - echo D | xcopy /s imageformats "Release/imageformats"; + - echo D | xcopy /s platforms "Release/platforms"; + - echo D | xcopy /s styles "Release/styles"; + - copy LICENSE Release; + - cd Release; + - 7z a -tzip "tidal-rpc-win.zip"; + - copy tidal-rpc-win.zip .. fi deploy: