From: Graham Knop Date: Thu, 29 Oct 2015 20:37:34 +0000 (-0400) Subject: allow quotes around version in Makefile.PL X-Git-Tag: v0.003000~54 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDistar.git;a=commitdiff_plain;h=22de1c6a69a6367802ffb0440ac5a0981ea785cd allow quotes around version in Makefile.PL --- diff --git a/helpers/bump-version b/helpers/bump-version index 0804e45..af3ecad 100755 --- a/helpers/bump-version +++ b/helpers/bump-version @@ -61,7 +61,7 @@ my $FILE_RE = qr{ (.*)$ }x; my $MAKE_RE = qr{ - (^.* version \s* => \s* ) + (^.* ['"]?version['"] \s* => \s* ) (['"]?) v?([0-9]+(?:[._][0-9]+)*) \2 ( \s*, ) (?: