MCPcopy Index your code
hub / github.com/react/react / reviewChangelogPrompt

Function reviewChangelogPrompt

scripts/devtools/prepare-release.js:204–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202}
203
204async 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
224function updateChangelog(nextVersion, commitLog) {
225 const path = join(ROOT_PATH, CHANGELOG_PATH);

Callers 1

mainFunction · 0.85

Calls 1

confirmContinueFunction · 0.85

Tested by

no test coverage detected