appveyor_set_version.cmd 356 B

123456789101112131415161718
  1. @echo off
  2. set BATCH_DIR=%~dp0
  3. cd %BATCH_DIR%
  4. cd ..\..
  5. set MY_DIR=%CD%
  6. call build\auto\setup_vs_any.cmd
  7. call build\auto\helper_get_svnversion.cmd
  8. call build\auto\helper_get_openmpt_version.cmd
  9. set MPT_REVISION=%OPENMPT_VERSION%-%SVNVERSION%
  10. appveyor UpdateBuild -Version "%OPENMPT_VERSION%-%SVNVERSION%-appveyor%APPVEYOR_BUILD_NUMBER%"
  11. cd "%MY_DIR%"