Commit:    ffd45061e7a697161ae1fc0595ca8aed47dee004
Author:    Anatol Belski <[email protected]>         Sat, 14 Sep 2013 21:30:32 +0200
Parents:   416e4c399497215ca495ec8c383762658dc43caa
Branches:  master

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

Log:
fixed some typos and no cleanup with unsuccessful upload

Changed paths:
  M  client/script/pecl.php


Diff:
diff --git a/client/script/pecl.php b/client/script/pecl.php
index f55a505..6ddb5f9 100644
--- a/client/script/pecl.php
+++ b/client/script/pecl.php
@@ -26,10 +26,10 @@ if (NULL == $branch_name || NULL == $pkg_path) {
        echo "  --config         Configuration file name without suffix, 
required." . PHP_EOL;
        echo "  --package        Path to the PECL package, required." . PHP_EOL;
        echo "  --mail           Send build logs to the extension maintainers, 
optional." . PHP_EOL;
-       echo "  --upload         Upload the builds to the windows.hpp.net, 
optional." . PHP_EOL;
+       echo "  --upload         Upload the builds to the windows.php.net, 
optional." . PHP_EOL;
        echo "  --is-snap        We upload to releases by default, but this one 
goes to snaps, optional." . PHP_EOL;
        echo "  --force-name     Force this name instead of reading the package 
data, optional." . PHP_EOL;
-       echo "  --force-version  Force this name instead of reading the package 
data, optional." . PHP_EOL;
+       echo "  --force-version  Force this version instead of reading the 
package data, optional." . PHP_EOL;
        echo "  --force-email    Send the results to this email instead of any 
from package.xml, optional." . PHP_EOL;
        echo PHP_EOL;
        echo "Example: pecl --config=php55_x64 
--package=c:\pecl_in_pkg\some-1.0.0.tgz" . PHP_EOL;
@@ -267,7 +267,7 @@ foreach ($builds as $build_name) {
        } 
 
        $build->clean();
-       $ext->cleanup($upload_success);
+       $ext->cleanup($upload && $upload_success);
        rm\rmdir_rf($toupload_dir);
 
        unset($ext);


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

Reply via email to