From: Graham Knop Date: Mon, 20 Sep 2021 14:56:59 +0000 (+0200) Subject: more flexible version matching when bumping Makefile.PL X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=122ab998439e849b3ea73c815d0cd0971543b49d;p=p5sagit%2FDistar.git more flexible version matching when bumping Makefile.PL --- diff --git a/lib/Distar/helpers/bump-version b/lib/Distar/helpers/bump-version index 2aad1fe..c7aee46 100755 --- a/lib/Distar/helpers/bump-version +++ b/lib/Distar/helpers/bump-version @@ -84,7 +84,7 @@ my $FILE_RE = qr{ (.*)$ }x; my $MAKE_RE = qr{ - (^.* ['"]?version['"] \s* => \s* ) + (^.* ['"]?(?:version|VERSION)['"]? \s* => \s* ) (['"]?) v?([0-9]+(?:[._][0-9]+)*) \2 ( \s*, ) (?: