com php-src: quick fix for the base branch version parsing, not perfect still: appveyor/build_task.bat
| From: | Anatol Belski | Date: | Thu, 05 Jan 2017 00:49:36 +0000 |
| Subject: | com php-src: quick fix for the base branch version parsing, not perfect still: appveyor/build_task.bat | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96562@lists.php.net to get a copy of this message | ||
Commit: 2ca5aa9418a126dc4e5fd6becca41adcf86f000f
Author: Anatol Belski <ab@php.net> Thu, 5 Jan 2017 01:49:36 +0100
Parents: 997d9027621a8bb744f490823a5de565c0683330
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2ca5aa9418a126dc4e5fd6becca41adcf86f000f
Log:
quick fix for the base branch version parsing, not perfect still
Changed paths:
M appveyor/build_task.bat
Diff:
diff --git a/appveyor/build_task.bat b/appveyor/build_task.bat
index 397e486..5a5afaf 100644
--- a/appveyor/build_task.bat
+++ b/appveyor/build_task.bat
@@ -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