()
| 202 | } |
| 203 | |
| 204 | async function reviewChangelogPrompt() { |
| 205 | console.log(''); |
| 206 | console.log( |
| 207 | 'The changelog has been updated with commits since the previous release:' |
| 208 | ); |
| 209 | console.log(` ${chalk.bold(CHANGELOG_PATH)}`); |
| 210 | console.log(''); |
| 211 | console.log('Please review the new changelog text for the following:'); |
| 212 | console.log(' 1. Filter out any non-user-visible changes (e.g. typo fixes)'); |
| 213 | console.log(' 2. Organize the list into Features vs Bugfixes'); |
| 214 | console.log(' 3. Combine related PRs into a single bullet list'); |
| 215 | console.log( |
| 216 | ' 4. Replacing the "USERNAME" placeholder text with the GitHub username(s)' |
| 217 | ); |
| 218 | console.log(''); |
| 219 | console.log(` ${chalk.bold.green(`open ${CHANGELOG_PATH}`)}`); |
| 220 | |
| 221 | await confirmContinue(); |
| 222 | } |
| 223 | |
| 224 | function updateChangelog(nextVersion, commitLog) { |
| 225 | const path = join(ROOT_PATH, CHANGELOG_PATH); |
no test coverage detected