From: Peter Rabbitson Date: Wed, 15 Jun 2016 12:26:22 +0000 (+0200) Subject: (distbuild) Deal with newer tags correctly X-Git-Tag: v0.08271~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=affbcf255331b5994b23d00f80c98e0d1117a4ee (distbuild) Deal with newer tags correctly --- diff --git a/maint/Makefile.PL.inc/29_handle_version.pl b/maint/Makefile.PL.inc/29_handle_version.pl index 22d21fd..54f15e9 100644 --- a/maint/Makefile.PL.inc/29_handle_version.pl +++ b/maint/Makefile.PL.inc/29_handle_version.pl @@ -1,5 +1,5 @@ -my $dbic_ver_re = qr/ (\d) \. (\d{2}) (\d{3}) (?: _ (\d{2}) )? /x; # not anchored!!! +my $dbic_ver_re = qr/ (\d) \. (\d{2}) (\d{3,4}) (?: _ (\d{2}) )? /x; # not anchored!!! my $version_string = Meta->version; my $version_value = eval $version_string;