This change moves the tests data files and publish folder of assets repository to the main blender.git repository as LFS files. The goal of this change is to eliminate toil of modifying tests, cherry-picking changes to LFS branches, adding tests as part of a PR which brings new features or fixes. More detailed explanation and conversation can be found in the design task. Ref #137215 Pull Request: https://projects.blender.org/blender/blender/pulls/137219
21 lines
784 B
Batchfile
21 lines
784 B
Batchfile
if "%GIT%" == "" (
|
|
echo Git not found, cannot show hashes.
|
|
goto EOF
|
|
)
|
|
cd "%BLENDER_DIR%"
|
|
for /f "delims=" %%i in ('"%GIT%" rev-parse --abbrev-ref HEAD') do echo Branch_name=%%i
|
|
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 "%BUILD_ARCH%" == "arm64" (
|
|
cd "%BLENDER_DIR%/lib/windows_arm64"
|
|
) else (
|
|
cd "%BLENDER_DIR%/lib/windows_x64"
|
|
)
|
|
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
|
|
|
|
cd "%BLENDER_DIR%"
|
|
:EOF |