From 8c568e5ee9f4311afcf62d683f5b2b8193e8cfc9 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Mon, 18 Jan 2021 10:40:26 -0800 Subject: [PATCH] Fix Stable/Daily build determination --- .appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 5b4a2738c04..21d557ef124 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -43,7 +43,8 @@ install: Write-Host "Installed" -ForegroundColor Green build_script: - - mkdir %SHADOW_BUILD_DIR% && cd %SHADOW_BUILD_DIR% && %QT_QMAKE_DIR%\qmake -r CONFIG+=%CONFIG% %APPVEYOR_BUILD_FOLDER%\qgroundcontrol.pro + - if %APPVEYOR_REPO_TAG% EQU "true" ( set STABLE_OR_DAILY=StableBuild ) else ( set STABLE_OR_DAILY=DailyBuild ) + - mkdir %SHADOW_BUILD_DIR% && cd %SHADOW_BUILD_DIR% && %QT_QMAKE_DIR%\qmake -r CONFIG+=%CONFIG% CONFIG+=%STABLE_OR_DAILY% %APPVEYOR_BUILD_FOLDER%\qgroundcontrol.pro - cd %SHADOW_BUILD_DIR% && %QT_JOM_DIR%\jom - if "%CONFIG%" EQU "installer" ( copy %SHADOW_BUILD_DIR%\staging\QGroundControl-installer.exe %APPVEYOR_BUILD_FOLDER%\QGroundControl-installer.exe ) # Generate the source server information to embed in the PDB