Skip to content

Commit

Permalink
Packages: fix dist_version, follow a change in api
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Nov 12, 2024
1 parent 6b9cb8e commit db4a74c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/package.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

use MetaCPAN::ES;
use MetaCPAN::Ingest qw<
fix_version
read_02packages_fh
>;

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

$bulk->update( {
Expand Down

0 comments on commit db4a74c

Please sign in to comment.