Skip to content

Commit 8e6ac47

Browse files
authored
fix: use plaintext formatting in release commit (nodejs#417)
1 parent 88d9c61 commit 8e6ac47

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lib/prepare_release.js

+3-6
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ class ReleasePreparation {
377377

378378
const notableChanges = this.getBranchDiff({
379379
onlyNotableChanges: true,
380-
simple: true
380+
format: 'plaintext'
381381
});
382382
messageBody.push('Notable changes:\n\n');
383383
messageBody.push(notableChanges);
@@ -431,12 +431,9 @@ class ReleasePreparation {
431431
branchDiffOptions = [
432432
`${upstream}/${releaseBranch}`,
433433
proposalBranch,
434-
`--require-label=${notableLabels.join(',')}`
434+
`--require-label=${notableLabels.join(',')}`,
435+
`--format=${opts.format || 'markdown'}`
435436
];
436-
437-
if (opts.simple) {
438-
branchDiffOptions.push('--simple');
439-
}
440437
} else {
441438
const excludeLabels = [
442439
'semver-major',

0 commit comments

Comments
 (0)