File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -376,7 +376,10 @@ class ReleasePreparation {
376
376
messageBody . push ( 'This is a security release.\n\n' ) ;
377
377
}
378
378
379
- const notableChanges = this . getBranchDiff ( { onlyNotableChanges : true } ) ;
379
+ const notableChanges = this . getBranchDiff ( {
380
+ onlyNotableChanges : true ,
381
+ simple : true
382
+ } ) ;
380
383
messageBody . push ( 'Notable changes:\n\n' ) ;
381
384
messageBody . push ( notableChanges ) ;
382
385
@@ -429,8 +432,11 @@ class ReleasePreparation {
429
432
`${ upstream } /${ releaseBranch } ` ,
430
433
proposalBranch ,
431
434
`--require-label=${ notableLabels . join ( ',' ) } ` ,
432
- '-format=simple'
433
435
] ;
436
+
437
+ if ( opts . simple ) {
438
+ branchDiffOptions . push ( '--simple' )
439
+ }
434
440
} else {
435
441
const excludeLabels = [
436
442
'semver-major' ,
@@ -455,8 +461,7 @@ class ReleasePreparation {
455
461
// TODO(codebytere): use Current branch instead of master for LTS
456
462
comparisonBranch ,
457
463
`--exclude-label=${ excludeLabels . join ( ',' ) } ` ,
458
- '--filter-release' ,
459
- '--format=simple'
464
+ '--filter-release'
460
465
] ;
461
466
}
462
467
You can’t perform that action at this time.
0 commit comments