@@ -108,7 +108,7 @@ class Release {
108
108
'`git commit --amend` before proceeding.' ) ;
109
109
110
110
await cli . prompt (
111
- 'Type y when you have finished editing the release commit: ' ,
111
+ 'Finished editing the release commit? ' ,
112
112
false ) ;
113
113
}
114
114
@@ -125,7 +125,7 @@ class Release {
125
125
' * https://ci.nodejs.org/job/node-test-pull-request/\n' +
126
126
' * https://ci.nodejs.org/job/citgm-smoker/' ) ;
127
127
cli . info (
128
- 'If this release deps/v8 changes, you\'ll also need to run:\n' +
128
+ 'If this release has deps/v8 changes, you\'ll also need to run:\n' +
129
129
' * https://ci.nodejs.org/job/node-test-commit-v8-linux/'
130
130
) ;
131
131
}
@@ -253,7 +253,7 @@ class Release {
253
253
lastRef
254
254
] ) ;
255
255
256
- const notableChanges = this . checkBranchDiff ( true ) ;
256
+ const notableChanges = this . getBranchDiff ( true ) ;
257
257
const releaseHeader = `## ${ date } , Version ${ newVersion } ` +
258
258
` ${ releaseInfo } , @${ username } \n` ;
259
259
@@ -334,9 +334,9 @@ class Release {
334
334
messageBody . push ( 'This is a security release.\n\n' ) ;
335
335
}
336
336
337
+ const notableChanges = this . getBranchDiff ( true ) ;
337
338
messageBody . push ( 'Notable changes:\n\n' ) ;
338
-
339
- // TODO(codebytere): add notable changes formatted for plaintext.
339
+ messageBody . push ( notableChanges ) ;
340
340
341
341
// Create commit and then allow releaser to amend.
342
342
runSync ( 'git' , [ 'add' , '.' ] ) ;
@@ -353,7 +353,7 @@ class Release {
353
353
return useMessage ;
354
354
}
355
355
356
- checkBranchDiff ( onlyNotableChanges = false ) {
356
+ getBranchDiff ( onlyNotableChanges = false ) {
357
357
const {
358
358
versionComponents,
359
359
stagingBranch,
0 commit comments