Skip to content

Instantly share code, notes, and snippets.

@wolfsage
Created March 30, 2012 10:36
Show Gist options
  • Save wolfsage/2250698 to your computer and use it in GitHub Desktop.
Save wolfsage/2250698 to your computer and use it in GitHub Desktop.
diff --git a/lib/MetaCPAN/Script/Release.pm b/lib/MetaCPAN/Script/Release.pm
index d094964..6b05ad8 100644
--- a/lib/MetaCPAN/Script/Release.pm
+++ b/lib/MetaCPAN/Script/Release.pm
@@ -120,6 +120,9 @@ sub run {
}
log_info { scalar @files, " tarballs found" } if ( @files > 1 );
+ # Hack? Lower versions before higher versions
+ @files = sort @files;
+
# build here before we fork
$self->index;
$self->backpan_index if ( $self->detect_backpan );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment