logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: pearweb /public_html release-upload.php: msg#00292

Subject: cvs: pearweb /public_html release-upload.php
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) {

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>