_ >   1 1 @echo off
  2 2
  3 3 rem Script prepares the portable CH package after build
< >     4 call "%WORKSPACE%\scripts\jenkins\_get-version.bat" || exit /b 1
4 5
  5 6 SET TmpDir=%WORKSPACE%\temp\chzip-%BUILD_NUMBER%
< >   6   SET OutDir=%WORKSPACE%\Output
    7 SET OutDir=%WORKSPACE%\Output\%CHTextVersion%
7 8
  8 9 SET VSInstallDirX86=C:\Program Files (x86)\Microsoft Visual Studio 12.0
  9 10
  10 11 mkdir "%TmpDir%"
  11 12 mkdir "%OutDir%"
  12 13
< >   13   call "%WORKSPACE%\scripts\jenkins\_get-version.bat" || exit /b 1
  14  
< _   15 14 xcopy "%WORKSPACE%\bin\release\ch.exe" "%TmpDir%\32bit\" || exit /B 1
  16 15 xcopy "%WORKSPACE%\License.txt" "%TmpDir%\32bit\" || exit /B 1
  17 16 xcopy "%WORKSPACE%\bin\release\chext.dll" "%TmpDir%\32bit\" || exit /B 1