diff --git a/zipArtifacts.bat b/zipArtifacts.bat index 75dd3922..0233ead9 100644 --- a/zipArtifacts.bat +++ b/zipArtifacts.bat @@ -1,7 +1,18 @@ set platform=%1 set configuration=%2 -set WORKDIR=sakura-%platform%-%configuration% -set OUTFILE=sakura-%platform%-%configuration%.zip +if "%platform%" == "x64" ( + set ALPHA=1 +) else ( + set ALPHA=0 +) +if "%ALPHA%" == "1" ( + set SUFFIX=-alpha +) else ( + set SUFFIX="" +) + +set WORKDIR=sakura-%platform%-%configuration%%SUFFIX% +set OUTFILE=sakura-%platform%-%configuration%%SUFFIX%.zip @rem cleanup for local testing if exist "%OUTFILE%" (