Skip to content

Commit db4a74c

Browse files
committed
Packages: fix dist_version, follow a change in api
1 parent 6b9cb8e commit db4a74c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/package.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
use MetaCPAN::ES;
1010
use MetaCPAN::Ingest qw<
11+
fix_version
1112
read_02packages_fh
1213
>;
1314

@@ -40,7 +41,7 @@
4041
file => $file,
4142
author => $distinfo->cpanid,
4243
distribution => $distinfo->dist,
43-
dist_version => $distinfo->version,
44+
dist_version => fix_version( $distinfo->version ),
4445
};
4546

4647
$bulk->update( {

0 commit comments

Comments
 (0)