Skip to content

Commit

Permalink
Merge pull request #66 from woocommerce/fix/error-counting-releases
Browse files Browse the repository at this point in the history
Fix error counting RC releases
  • Loading branch information
puntope authored Jul 24, 2023
2 parents 929f611 + 44b1156 commit beebb96
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ function parsePluginVersions( releases = {} ) {
.sort( semverCompare );

for ( const version of versions ) {
const releasesAdded = output.filter(
( release ) => ! isRC( release )
);

if ( releasesAdded.length === numberOfReleases ) {
if ( output.length === numberOfReleases ) {
break;
}

Expand Down

0 comments on commit beebb96

Please sign in to comment.