Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix including preceding dev releases in changes
  • Loading branch information
haarg committed Jul 20, 2017
1 parent 6451e7c commit 761a030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Model/API/Changes.pm
Expand Up @@ -27,7 +27,7 @@ sub release_changes {
my @releases = _releases($content);

my @changelogs;
while ( my $r = pop @releases ) {
while ( my $r = shift @releases ) {
if ( $r->{version_parsed} eq $version ) {
$r->{current} = 1;
push @changelogs, $r;
Expand Down

0 comments on commit 761a030

Please sign in to comment.