cvs: pearweb /public_html release-upload.php
| From: | Pierre-Alain Joye | Date: | Mon, 28 Feb 2005 23:47:09 +0000 |
| Subject: | cvs: pearweb /public_html release-upload.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-29937@lists.php.net to get a copy of this message | ||
pajoye Mon Feb 28 18:47:09 2005 EDT
Modified files:
/pearweb/public_html release-upload.php
Log:
- fix #3633, check for version < 1.0 only if the state is marked as stable
http://cvs.php.net/diff.php/pearweb/public_html/release-upload.php?r1=1.58&r2=1.59&ty=u
Index: pearweb/public_html/release-upload.php
diff -u pearweb/public_html/release-upload.php:1.58 pearweb/public_html/release-upload.php:1.59
--- pearweb/public_html/release-upload.php:1.58 Wed Feb 23 01:28:54 2005
+++ pearweb/public_html/release-upload.php Mon Feb 28 18:47:08 2005
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: release-upload.php,v 1.58 2005/02/23 06:28:54 cellog Exp $
+ $Id: release-upload.php,v 1.59 2005/02/28 23:47:08 pajoye Exp $
*/
auth_require('pear.dev');
@@ -294,10 +294,10 @@
$errors[] = "The first release of a package must be 'alpha' or
'beta', not 'stable'." .
" Try releasing version 1.0.0RC1, state 'beta'";
}
- }
- $version = $info->getVersion();
- if ($version{0} < '1') {
- $errors[] = "Versions < 1.0.0 may not be 'stable'";
+ $version = $info->getVersion();
+ if ($version{0} < '1') {
+ $errors[] = "Versions < 1.0.0 may not be 'stable'";
+ }
}
}
if ($info->getChannel() != PEAR_CHANNELNAME) {