You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by go...@apache.org on 2006/03/02 02:20:25 UTC
svn commit: r382228 - /perl/modperl/trunk/RELEASE
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