projects
/
p5sagit/Distar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
70bb577
)
more flexible version matching when bumping Makefile.PL
Graham Knop [Mon, 20 Sep 2021 14:56:59 +0000 (16:56 +0200)]
lib/Distar/helpers/bump-version
patch
|
blob
|
blame
|
history
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*, )
(?: