Skip to content

Commit

Permalink
Bumped version #
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Kegler authored and Jeffrey Kegler committed Apr 30, 2012
1 parent 9b82ec6 commit 18f46e3
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 25 deletions.
21 changes: 21 additions & 0 deletions bump_version
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ use IPC::Cmd;
chomp(my $LATEST = qx(grep '^[0-9]' r2/Changes | head -1 | awk '{print \$1}'));

warn "Bumping -> $LATEST\n";
(my $micro = $LATEST) =~ s/\A 0 [.] 001 [_] //xms;
if (not defined $micro) {
die "bump_version Cannot handle new version number: $LATEST";
}
$micro += 0;

my @versioned_files = split /\n/xms, <<'END_OF_LIST';
r2/html/lib/Marpa/R2/HTML/Callback.pm
Expand All @@ -29,6 +34,22 @@ for my $versioned_file (@versioned_files) {
print $out $file;
} ## end for my $versioned_file (@versioned_files)

for my $configure_ac_file (
qw(
r2/libmarpa/dev/dist/configure.ac
r2/libmarpa/dev/doc_dist/configure.ac
)
)
{
say STDERR $configure_ac_file;
my $file = do { local ( @ARGV, $/ ) = ($configure_ac_file); <> };
$file =~ s{
( m4_define [(] [\[] marpa_micro_version [\]] [,] \s* [\[] ) \d+ ( [\]] )
}{$1${micro}$2}xms;
open my $out, '>', $configure_ac_file;
print $out $file;
} ## end for my $configure_ac_file ( qw( r2/libmarpa/dev/dist/configure.ac...))

chdir 'r2';
die qq{"perl Build.PL" failed: $!}
if not IPC::Cmd::run( command => [$EXECUTABLE_NAME, 'Build.PL'], verbose => 1 );
Expand Down
1 change: 1 addition & 0 deletions r2/Changes
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

Revision history for Marpa::R2

0.001_038 Sun Apr 29 20:48:51 PDT 2012
0.001_037 Thu Apr 26 19:15:57 PDT 2012
0.001_036 Sun Apr 22 09:42:00 PDT 2012
0.001_035 Sat Apr 21 21:58:01 PDT 2012
Expand Down
16 changes: 8 additions & 8 deletions r2/META.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,19 @@
"provides" : {
"Marpa::R2" : {
"file" : "lib/Marpa/R2.pm",
"version" : "0.001_037"
"version" : "0.001_038"
},
"Marpa::R2::Grammar" : {
"file" : "lib/Marpa/R2/Grammar.pm",
"version" : "0.001_037"
"version" : "0.001_038"
},
"Marpa::R2::HTML" : {
"file" : "html/lib/Marpa/R2/HTML.pm",
"version" : "0.001_037"
"version" : "0.001_038"
},
"Marpa::R2::HTML::Callback" : {
"file" : "html/lib/Marpa/R2/HTML/Callback.pm",
"version" : "0.001_037"
"version" : "0.001_038"
},
"Marpa::R2::HTML::Internal" : {
"file" : "html/lib/Marpa/R2/HTML.pm",
Expand All @@ -99,7 +99,7 @@
},
"Marpa::R2::Internal" : {
"file" : "lib/Marpa/R2/Internal.pm",
"version" : "0.001_037"
"version" : "0.001_038"
},
"Marpa::R2::Internal::Grammar" : {
"file" : "lib/Marpa/R2/Grammar.pm",
Expand All @@ -115,11 +115,11 @@
},
"Marpa::R2::Recognizer" : {
"file" : "lib/Marpa/R2/Recognizer.pm",
"version" : "0.001_037"
"version" : "0.001_038"
},
"Marpa::R2::Value" : {
"file" : "lib/Marpa/R2/Value.pm",
"version" : "0.001_037"
"version" : "0.001_038"
}
},
"release_status" : "testing",
Expand All @@ -128,5 +128,5 @@
"url" : "git://github.com/jeffreykegler/Marpa-R2.git"
}
},
"version" : "0.001_037"
"version" : "0.001_038"
}
16 changes: 8 additions & 8 deletions r2/META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ no_index:
provides:
Marpa::R2:
file: lib/Marpa/R2.pm
version: 0.001_037
version: 0.001_038
Marpa::R2::Grammar:
file: lib/Marpa/R2/Grammar.pm
version: 0.001_037
version: 0.001_038
Marpa::R2::HTML:
file: html/lib/Marpa/R2/HTML.pm
version: 0.001_037
version: 0.001_038
Marpa::R2::HTML::Callback:
file: html/lib/Marpa/R2/HTML/Callback.pm
version: 0.001_037
version: 0.001_038
Marpa::R2::HTML::Internal:
file: html/lib/Marpa/R2/HTML.pm
version: 0
Expand All @@ -63,7 +63,7 @@ provides:
version: 0
Marpa::R2::Internal:
file: lib/Marpa/R2/Internal.pm
version: 0.001_037
version: 0.001_038
Marpa::R2::Internal::Grammar:
file: lib/Marpa/R2/Grammar.pm
version: 0
Expand All @@ -75,10 +75,10 @@ provides:
version: 0
Marpa::R2::Recognizer:
file: lib/Marpa/R2/Recognizer.pm
version: 0.001_037
version: 0.001_038
Marpa::R2::Value:
file: lib/Marpa/R2/Value.pm
version: 0.001_037
version: 0.001_038
recommends:
HTML::Entities: 3.68
HTML::Parser: 3.64
Expand All @@ -91,4 +91,4 @@ requires:
Scalar::Util: 1.21
resources:
repository: git://github.com/jeffreykegler/Marpa-R2.git
version: 0.001_037
version: 0.001_038
2 changes: 1 addition & 1 deletion r2/html/lib/Marpa/R2/HTML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use strict;
use warnings;

use vars qw( $VERSION $STRING_VERSION );
$VERSION = '0.001_037';
$VERSION = '0.001_038';
$STRING_VERSION = $VERSION;
## no critic (BuiltinFunctions::ProhibitStringyEval)
$VERSION = eval $VERSION;
Expand Down
2 changes: 1 addition & 1 deletion r2/html/lib/Marpa/R2/HTML/Callback.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use integer;
package Marpa::R2::HTML::Callback;

use vars qw( $VERSION $STRING_VERSION );
$VERSION = '0.001_037';
$VERSION = '0.001_038';
$STRING_VERSION = $VERSION;
## use critic (BuiltinFunctions::ProhibitStringyEval)
$VERSION = eval $VERSION;
Expand Down
2 changes: 1 addition & 1 deletion r2/lib/Marpa/R2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use strict;
use warnings;

use vars qw($VERSION $STRING_VERSION @ISA $DEBUG);
$VERSION = '0.001_037';
$VERSION = '0.001_038';
$STRING_VERSION = $VERSION;
## no critic (BuiltinFunctions::ProhibitStringyEval)
$VERSION = eval $VERSION;
Expand Down
2 changes: 1 addition & 1 deletion r2/lib/Marpa/R2/Grammar.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use integer;
use utf8;

use vars qw($VERSION $STRING_VERSION);
$VERSION = '0.001_037';
$VERSION = '0.001_038';
$STRING_VERSION = $VERSION;
## no critic(BuiltinFunctions::ProhibitStringyEval)
$VERSION = eval $VERSION;
Expand Down
2 changes: 1 addition & 1 deletion r2/lib/Marpa/R2/Internal.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use integer;
use Carp;

use vars qw($VERSION $STRING_VERSION);
$VERSION = '0.001_037';
$VERSION = '0.001_038';
$STRING_VERSION = $VERSION;
## no critic (BuiltinFunctions::ProhibitStringyEval)
$VERSION = eval $VERSION;
Expand Down
2 changes: 1 addition & 1 deletion r2/lib/Marpa/R2/Recognizer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use integer;
use English qw( -no_match_vars );

use vars qw($VERSION $STRING_VERSION);
$VERSION = '0.001_037';
$VERSION = '0.001_038';
$STRING_VERSION = $VERSION;
## no critic(BuiltinFunctions::ProhibitStringyEval)
$VERSION = eval $VERSION;
Expand Down
2 changes: 1 addition & 1 deletion r2/lib/Marpa/R2/Value.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use strict;
use integer;

use vars qw($VERSION $STRING_VERSION);
$VERSION = '0.001_037';
$VERSION = '0.001_038';
$STRING_VERSION = $VERSION;
## no critic (BuiltinFunctions::ProhibitStringyEval)
$VERSION = eval $VERSION;
Expand Down
2 changes: 1 addition & 1 deletion r2/libmarpa/dev/dist/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ m4_define(marpa_configure_in)
#
m4_define([marpa_major_version], [2])
m4_define([marpa_minor_version], [0])
m4_define([marpa_micro_version], [37])
m4_define([marpa_micro_version], [38])
m4_define([marpa_interface_age], [100])
m4_define([marpa_binary_age],
[m4_eval(100 * marpa_minor_version + marpa_micro_version)])
Expand Down
2 changes: 1 addition & 1 deletion r2/libmarpa/dev/doc_dist/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ m4_define(marpa_configure_in)
#
m4_define([marpa_major_version], [2])
m4_define([marpa_minor_version], [0])
m4_define([marpa_micro_version], [37])
m4_define([marpa_micro_version], [38])
m4_define([marpa_interface_age], [100])
m4_define([marpa_binary_age],
[m4_eval(100 * marpa_minor_version + marpa_micro_version)])
Expand Down

0 comments on commit 18f46e3

Please sign in to comment.