We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f106189 commit 71228f2Copy full SHA for 71228f2
lib/MetaCPAN/Script/Package.pm
@@ -7,7 +7,7 @@ use IO::Uncompress::Gunzip ();
7
use Log::Contextual qw( :log );
8
use MetaCPAN::ESConfig qw( es_doc_path );
9
use MetaCPAN::Types::TypeTiny qw( Bool );
10
-use MetaCPAN::Util qw( true false );
+use MetaCPAN::Util qw( fix_version true false );
11
12
with 'MooseX::Getopt', 'MetaCPAN::Role::Script';
13
@@ -72,7 +72,7 @@ sub index_packages {
72
file => $file,
73
author => $distinfo->cpanid,
74
distribution => $distinfo->dist,
75
- dist_version => $distinfo->version,
+ dist_version => fix_version( $distinfo->version ),
76
};
77
78
$bulk->update( {
0 commit comments