Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Script/Package.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use IO::Uncompress::Gunzip ();
use Log::Contextual qw( :log );
use MetaCPAN::ESConfig qw( es_doc_path );
use MetaCPAN::Types::TypeTiny qw( Bool );
use MetaCPAN::Util qw( true false );
use MetaCPAN::Util qw( fix_version true false );

with 'MooseX::Getopt', 'MetaCPAN::Role::Script';

Expand Down Expand Up @@ -72,7 +72,7 @@ sub index_packages {
file => $file,
author => $distinfo->cpanid,
distribution => $distinfo->dist,
dist_version => $distinfo->version,
dist_version => fix_version( $distinfo->version ),
};

$bulk->update( {
Expand Down