[AppVeyor] AppVeyor doesn't like IF blocks.
This commit is contained in:
parent
75f98b01b9
commit
c72d65ad9f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue