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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user