Permalink
Browse files

refresh index after a new release was created

  • Loading branch information...
1 parent e42ca24 commit 7334a8f6f1ec8deb02adc79b514851ad4fd5cb56 @monken monken committed Dec 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/MetaCPAN/Script/Release.pm
View
2 lib/MetaCPAN/Script/Release.pm
@@ -215,7 +215,7 @@ sub import_tarball {
if ( $create->{abstract} eq 'unknown'
|| $create->{abstract} eq 'null' );
- my $release = $cpan->type('release')->put($create);
+ my $release = $cpan->type('release')->put( $create, { refresh => 1 } );
my @files;
my $meta_file;

0 comments on commit 7334a8f

Please sign in to comment.