You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/04/09 18:03:03 UTC

[lucy-commits] svn commit: r1090618 - /incubator/lucy/trunk/devel/bin/update_version

Author: marvin
Date: Sat Apr  9 16:03:03 2011
New Revision: 1090618

URL: http://svn.apache.org/viewvc?rev=1090618&view=rev
Log:
Add perl/lib/Lucy.pod to list of files affected by update_version.

Modified:
    incubator/lucy/trunk/devel/bin/update_version

Modified: incubator/lucy/trunk/devel/bin/update_version
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/devel/bin/update_version?rev=1090618&r1=1090617&r2=1090618&view=diff
==============================================================================
--- incubator/lucy/trunk/devel/bin/update_version (original)
+++ incubator/lucy/trunk/devel/bin/update_version Sat Apr  9 16:03:03 2011
@@ -49,6 +49,9 @@ my $buf;
 $buf = read_file('perl/lib/Lucy.pm');
 $buf =~ s/(our \$VERSION\ +=\ +)'.+?'/$1'$x_yyyzzz_version'/;
 write_file( 'perl/lib/Lucy.pm', $buf );
+$buf = read_file('perl/lib/Lucy.pod');
+$buf =~ s/(^=head1\s+VERSION\s+)([\d.]+)/$1'$x_y_z_version'/;
+write_file( 'perl/lib/Lucy.pod', $buf );
 $buf = read_file('perl/Build.PL');
 $buf =~ s/(dist_version\ +=>\ +)'.+?'/$1'$x_y_z_version'/;
 write_file( 'perl/Build.PL', $buf );