2018-05-26 01:57:13 +02:00
|
|
|
if "%GIT%" == "" (
|
|
|
|
echo Git not found, cannot show hashes.
|
|
|
|
goto EOF
|
|
|
|
)
|
|
|
|
cd "%BLENDER_DIR%"
|
2023-09-16 18:32:30 +02:00
|
|
|
for /f "delims=" %%i in ('"%GIT%" rev-parse --abbrev-ref HEAD') do echo Branch_name=%%i
|
2018-06-16 20:29:38 +02:00
|
|
|
for /f "delims=" %%i in ('"%GIT%" rev-parse HEAD') do echo Branch_hash=%%i
|
2023-02-21 16:39:58 +01:00
|
|
|
cd "%BLENDER_DIR%/scripts/addons"
|
2023-09-16 18:32:30 +02:00
|
|
|
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
|
2024-02-22 13:50:55 +01:00
|
|
|
|
2024-03-06 15:46:43 +01:00
|
|
|
if "%BUILD_ARCH%" == "arm64" (
|
|
|
|
cd "%BLENDER_DIR%/lib/windows_arm64"
|
|
|
|
) else (
|
|
|
|
cd "%BLENDER_DIR%/lib/windows_x64"
|
|
|
|
)
|
2024-02-22 13:50:55 +01:00
|
|
|
for /f "delims=" %%i in ('"%GIT%" rev-parse --abbrev-ref HEAD') do echo Libs_Branch_name=%%i
|
|
|
|
for /f "delims=" %%i in ('"%GIT%" rev-parse HEAD') do echo Libs_Branch_hash=%%i
|
|
|
|
|
2018-05-26 01:57:13 +02:00
|
|
|
cd "%BLENDER_DIR%"
|
|
|
|
:EOF
|