Skip to content
Browse files

Fix the $VERSION patcher to handle alphas

  • Loading branch information...
1 parent e3bc0ba commit 1536ee117e5b6b1d6d4ea484eccbbda2f2678032 @schwern schwern committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/change_version
View
2 admin/change_version
@@ -3,5 +3,5 @@
my $version = shift;
die "$0 <version>\n" unless $version;
system qq[perl -i -pe 's{(dist_version \\s* => \\s*) \\S+ (.*)}{\$1"v$version",}x' Build.PL];
-system qq[perl -i -pe 's{v[.\\d]+}{v$version}' lib/perl5i/VERSION.pm];
+system qq[perl -i -pe 's{v[.\\d_]+}{v$version}' lib/perl5i/VERSION.pm];

0 comments on commit 1536ee1

Please sign in to comment.
Something went wrong with that request. Please try again.