perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go...@apache.org
Subject svn commit: r382228 - /perl/modperl/trunk/RELEASE
Date Thu, 02 Mar 2006 01:20:25 GMT
Author: gozer
Date: Wed Mar  1 17:20:23 2006
New Revision: 382228

URL: http://svn.apache.org/viewcvs?rev=382228&view=rev
Log:
Imnprove the number updating logic in RELEASE to a self-upgrading
one-liner.


Modified:
    perl/modperl/trunk/RELEASE

Modified: perl/modperl/trunk/RELEASE
URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/RELEASE?rev=382228&r1=382227&r2=382228&view=diff
==============================================================================
--- perl/modperl/trunk/RELEASE (original)
+++ perl/modperl/trunk/RELEASE Wed Mar  1 17:20:23 2006
@@ -195,14 +195,7 @@
   d. update this file versions to make it easy to copy-n-paste things
      on the next release:
    
-   perl -pi -e 's/2.0.3/2.0.4/g' RELEASE
-   perl -pi -e 's/2.0.2/2.0.3/g' RELEASE
-   perl -pi -e 's/2.0.1/2.0.2/g' RELEASE
-   perl -pi -e 's/2.0.0/2.0.1/g' RELEASE
-   perl -ni -e 'print unless /2.0.0/' RELEASE
-   
-     now reload this file and bump up the last number of the first
-     command.
+   $ perl -pi -e 's/(\d+)\.(\d+)\.(\d+)/join(".", $1, $2, $3+1)/eg' RELEASE
 
   e. commit the changed files
 



Mime
View raw message