Commit:    6659d824d1a42db91fcf8aaa117abae3f4dfc316
Author:    Anatol Belski <[email protected]>         Mon, 18 Sep 2017 19:41:00 +0200
Parents:   d7f919649b7732510222164a1771331416b2e352
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=6659d824d1a42db91fcf8aaa117abae3f4dfc316

Log:
Check also for "all"

Changed paths:
  M  include/Branch.php


Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 53f0bab..c26cc21 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -75,7 +75,7 @@ class Branch {
                $builds = $this->config->getBuildList();
 
                if (!empty($builds)) {
-                       if ($build_name) {
+                       if ($build_name && "all" != $build_name) {
                                if (in_array($build_name, $this->data->builds) 
&& $this->hasUnfinishedBuild()) {
                                        throw new \Exception("Builds for 
'$build_name' are already done or in progress");
                                }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to