]> granicus.if.org Git - php/commitdiff
quick fix for the base branch version parsing, not perfect still
authorAnatol Belski <ab@php.net>
Thu, 5 Jan 2017 00:49:36 +0000 (01:49 +0100)
committerAnatol Belski <ab@php.net>
Thu, 5 Jan 2017 00:49:36 +0000 (01:49 +0100)
appveyor/build_task.bat

index 397e486022fa0c525d73c19e55e1c18f63d8a250..5a5afaf66f1c11a78a93c24ab7574f4ef95c5586 100644 (file)
@@ -11,7 +11,7 @@ cd /D %APPVEYOR_BUILD_FOLDER%
 if %errorlevel% neq 0 exit /b 3
 
 if /i "%APPVEYOR_REPO_BRANCH:~0,4%" equ "php-" (
-       set BRANCH=%APPVEYOR_REPO_BRANCH:~4%
+       set BRANCH=%APPVEYOR_REPO_BRANCH:~4,3%
        set STABILITY=stable
 ) else (
        set BRANCH=master