From dc01aba621af8100174688e59269ebf7ebdb0191 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 15 Nov 2015 11:27:15 -0500 Subject: [PATCH] appveyor hack to get around deploy limitation --- .appveyor.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 81ef52612..bb70a4ca7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -26,8 +26,13 @@ build_script: test_script: - if "%CONFIG%" EQU "debug" ( %SHADOW_BUILD_DIR%\debug\qgroundcontrol --unittest ) +before_deploy: + - if "%CONFIG%" EQU "installer" ( copy %SHADOW_BUILD_DIR%\release\qgroundcontrol-installer.exe %APPVEYOR_BUILD_FOLDER%\qgroundcontrol-installer.exe ) + - dir %SHADOW_BUILD_DIR% + - dir %APPVEYOR_BUILD_FOLDER% + artifacts: - - path: '%SHADOW_BUILD_DIR%\release\qgroundcontrol-installer.exe' + - path: './qgroundcontrol-installer.exe' name: s3 deploy: @@ -39,11 +44,11 @@ deploy: bucket: qgroundcontrol set_public: true folder: $(APPVEYOR_REPO_BRANCH) - artifact: '$(SHADOW_BUILD_DIR)\release\qgroundcontrol-installer.exe' + artifact: './qgroundcontrol-installer.exe' on: CONFIG: installer - provider: GitHub - artifact: '$(SHADOW_BUILD_DIR)\release\qgroundcontrol-installer.exe' + artifact: './qgroundcontrol-installer.exe' draft: false prerelease: false on: -- 2.22.0