more flexible version matching when bumping Makefile.PL
[p5sagit/Distar.git] / lib / Distar / helpers / bump-version
index 2aad1fe..c7aee46 100755 (executable)
@@ -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*, )
   (?: