com web/rmtools: fixed some typos and no cleanup with unsuccessful upload: client/script/pecl.php
| From: | Stephen A. Zarkos | Date: | Sat, 14 Sep 2013 19:30:32 +0000 |
| Subject: | com web/rmtools: fixed some typos and no cleanup with unsuccessful upload: client/script/pecl.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-16682@lists.php.net to get a copy of this message | ||
Commit: ffd45061e7a697161ae1fc0595ca8aed47dee004
Author: Anatol Belski <ab@php.net> 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);