Download src/php/php-src/.github/scripts/windows/find-target-branch.bat from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 273 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/scripts/windows/find-target-branch.bat
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/.github/scripts/windows/find-target-branch.bat
-
curl -L -o find-target-branch.bat https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/scripts/windows/find-target-branch.bat
273 Bytes
| @echo off | |
| for /f "usebackq tokens=3" %%i in (`findstr PHP_MAJOR_VERSION main\php_version.h`) do set BRANCH=%%i | |
| for /f "usebackq tokens=3" %%i in (`findstr PHP_MINOR_VERSION main\php_version.h`) do set BRANCH=%BRANCH%.%%i | |
| if /i "%BRANCH%" equ "8.5" ( | |
| set BRANCH=master | |
| ) | |