make.bat: show hash/branch for test repository when available

`make showhash` was missing the test repository, will only display
when the test data is present.
This commit is contained in:
Ray Molenkamp
2025-02-27 16:16:50 -07:00
parent 3a01eb6dfa
commit 6fbed50461

View File

@@ -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"