MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / composeReleaseBody

Function composeReleaseBody

packages/bumpy/src/core/github-release.ts:324–328  ·  view source on GitHub ↗
(changelogContent: string, metadata: ReleaseMetadata)

Source from the content-addressed store, hash-verified

322 * Preserves existing changelog content when updating (only replaces the status/metadata sections).
323 */
324export function composeReleaseBody(changelogContent: string, metadata: ReleaseMetadata): string {
325 const publishSection = formatPublishedToSection(metadata.targets);
326 const metadataComment = serializeMetadata(metadata);
327 return `${changelogContent}\n\n${publishSection}\n\n${metadataComment}`;
328}
329
330/**
331 * Update just the status/metadata sections of an existing release body,

Callers 3

runPublishFlowFunction · 0.90
updateReleaseBodyStatusFunction · 0.85

Calls 2

formatPublishedToSectionFunction · 0.85
serializeMetadataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…