Skip to content

Commit

Permalink
fixed release last pr error
Browse files Browse the repository at this point in the history
  • Loading branch information
teogor committed Oct 8, 2020
1 parent b73c0fb commit 3e6c7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/draft-release/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class DraftRelease {
if (pullObject.merged_at) {
if (!lastRelease) {
pullRequestsList.push(pullObject)
} else if (new Date(pullObject.merged_at) >= new Date(lastRelease.created_at)) {
} else if (new Date(pullObject.merged_at) > new Date(lastRelease.created_at)) {
pullRequestsList.push(pullObject)
}
}
Expand Down

0 comments on commit 3e6c7fb

Please sign in to comment.