projects
/
p5sagit/Distar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
more flexible version matching when bumping Makefile.PL
[p5sagit/Distar.git]
/
lib
/
Distar
/
helpers
/
bump-version
diff --git
a/lib/Distar/helpers/bump-version
b/lib/Distar/helpers/bump-version
index
2aad1fe
..
c7aee46
100755
(executable)
--- 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*, )
(?: