Re: cvs: pearweb /public_html release-upload.php
| From: | Justin Patrin | Date: | Tue, 01 Mar 2005 00:09:53 +0000 |
| Subject: | Re: cvs: pearweb /public_html release-upload.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-36425@lists.php.net to get a copy of this message | ||
On Mon, 28 Feb 2005 23:47:09 -0000, Pierre-Alain Joye <pajoye@php.net> wrote:
> 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
> @@ -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'";
> + }
I looked at the code myself and simply didn't see that....I assumed it
was in the right place I guess. Oh well.
--
Justin Patrin