diff --git a/.appveyor.yml b/.appveyor.yml index 2dc71aeeb..95f2b1ed4 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -38,13 +38,10 @@ build_script: after_build: - cmd: | - IF "%CONFIGURATION%"=="Checked" ( - set "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%_FOR-DEVS-ONLY" - set "7Z_SWITCHES="-pI know what I am doing." --" - ) ELSE ( - set "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%" - set "7Z_SWITCHES=--" - ) + IF NOT "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%" + IF NOT "%CONFIGURATION%"=="Checked" SET "7Z_SWITCHES=--" + IF "%CONFIGURATION%"=="Checked" SET "ARCHIVE_SUFFIX=%APPVEYOR_REPO_BRANCH%_FOR-DEVS-ONLY" + IF "%CONFIGURATION%"=="Checked" SET "7Z_SWITCHES="-pI know what I am doing." --" 7z a xenia_%ARCHIVE_SUFFIX%.zip %7Z_SWITCHES% LICENSE %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.exe %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.pdb 7z a xenia-vfs-dump_%ARCHIVE_SUFFIX%.zip %7Z_SWITCHES% LICENSE %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.exe %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.pdb 7z a SDL2.zip %7Z_SWITCHES% %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\SDL2.dll