Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/prepare_release.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default class ReleasePreparation extends Session {
const { cli } = this;

cli.warn(`PR#${pr.number} - ${pr.title} is not 'MERGEABLE'.
So, it will be skipped. Status: ${pr.mergeable}`);
Status: ${pr.mergeable}`);
}

async getOpenPRs(filterLabels) {
Expand All @@ -66,7 +66,6 @@ export default class ReleasePreparation extends Session {
for (const pr of prs) {
if (pr.mergeable !== 'MERGEABLE') {
this.warnForNonMergeablePR(pr);
continue;
}
const cp = new CherryPick(pr.number, this.dir, cli, {
owner: this.owner,
Expand Down Expand Up @@ -486,7 +485,7 @@ export default class ReleasePreparation extends Session {
let releaseHeader = `## ${date}, Version ${newVersion}` +
` ${releaseInfo}, @${username}\n`;
if (isSecurityRelease) {
releaseHeader += '\nThis is a security release.';
releaseHeader += '\nThis is a security release.\n';
}

const topHeader =
Expand Down
Loading