diff --git a/build_files/windows/show_hashes.cmd b/build_files/windows/show_hashes.cmd index 2234348a65a..91f8b291b82 100644 --- a/build_files/windows/show_hashes.cmd +++ b/build_files/windows/show_hashes.cmd @@ -8,6 +8,11 @@ for /f "delims=" %%i in ('"%GIT%" rev-parse HEAD') do echo Branch_hash=%%i cd "%BLENDER_DIR%/scripts/addons_core" for /f "delims=" %%i in ('"%GIT%" rev-parse --abbrev-ref HEAD') do echo Addons_Branch_name=%%i for /f "delims=" %%i in ('"%GIT%" rev-parse HEAD') do echo Addons_Branch_hash=%%i +if EXIST "%BLENDER_DIR%/tests/data/.git" ( +cd "%BLENDER_DIR%/tests/data/" + for /f "delims=" %%i in ('"%GIT%" rev-parse --abbrev-ref HEAD') do echo Tests_Branch_name=%%i + for /f "delims=" %%i in ('"%GIT%" rev-parse HEAD') do echo Tests_Branch_hash=%%i +) if "%BUILD_ARCH%" == "arm64" ( cd "%BLENDER_DIR%/lib/windows_arm64"