MCPcopy Create free account
hub / github.com/angular/dev-infra / prependReleaseNotesToChangelog

Function prependReleaseNotesToChangelog

ng-dev/release/publish/actions.ts:387–392  ·  view source on GitHub ↗

* Prepend releases notes for a version published in a given branch to the changelog in * the current Git `HEAD`. This is useful for cherry-picking the changelog. * @returns A boolean indicating whether the release notes have been prepended.

(releaseNotes: ReleaseNotes)

Source from the content-addressed store, hash-verified

385 * @returns A boolean indicating whether the release notes have been prepended.
386 */
387 protected async prependReleaseNotesToChangelog(releaseNotes: ReleaseNotes): Promise<void> {
388 await releaseNotes.prependEntryToChangelogFile();
389 Log.info(
390 green(` ✓ Updated the changelog to capture changes for "${releaseNotes.version}".`),
391 );
392 }
393
394 /** Checks out an upstream branch with a detached head. */
395 protected async checkoutUpstreamBranch(branchName: string) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected