File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ const PROMOTE = 'promote';
12
12
13
13
const releaseOptions = {
14
14
prepare : {
15
- describe : 'Prepare a new release with the given version number ' ,
15
+ describe : 'Prepare a new release of Node.js ' ,
16
16
type : 'boolean'
17
17
} ,
18
18
promote : {
19
- describe : 'Promote new release with the given version number ' ,
19
+ describe : 'Promote new release of Node.js ' ,
20
20
type : 'boolean'
21
21
} ,
22
22
security : {
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