Browse Source
Merge branch 'PHP-8.5'
* PHP-8.5:
Change master branch check to 8.6
pull/15724/merge
Ilija Tovilo
2 weeks ago
No known key found for this signature in database
GPG Key ID: 115CEA7A713E12E9
1 changed files with
1 additions and
1 deletions
-
.github/scripts/windows/find-target-branch.bat
|
@ -3,6 +3,6 @@ |
|
|
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_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 |
|
|
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" ( |
|
|
|
|
|
|
|
|
if /i "%BRANCH%" equ "8.6" ( |
|
|
set BRANCH=master |
|
|
set BRANCH=master |
|
|
) |
|
|
) |