show_hashes.cmd 425 B

123456789101112
  1. if "%GIT%" == "" (
  2. echo Git not found, cannot show hashes.
  3. goto EOF
  4. )
  5. cd "%BLENDER_DIR%"
  6. for /f "delims=" %%i in ('"%GIT%" rev-parse HEAD') do echo Branch_hash=%%i
  7. cd "%BLENDER_DIR%/release/datafiles/locale"
  8. for /f "delims=" %%i in ('"%GIT%" rev-parse HEAD') do echo Locale_hash=%%i
  9. cd "%BLENDER_DIR%/release/scripts/addons"
  10. for /f "delims=" %%i in ('"%GIT%" rev-parse HEAD') do echo Addons_Hash=%%i
  11. cd "%BLENDER_DIR%"
  12. :EOF