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

Function serializeMetadata

packages/bumpy/src/core/github-release.ts:183–185  ·  view source on GitHub ↗

Serialize metadata into an HTML comment

(metadata: ReleaseMetadata)

Source from the content-addressed store, hash-verified

181
182/** Serialize metadata into an HTML comment */
183function serializeMetadata(metadata: ReleaseMetadata): string {
184 return `${METADATA_START}\n${JSON.stringify(metadata, null, 2)}\n${METADATA_END}`;
185}
186
187/** Build the "Published to" section from target states */
188export function formatPublishedToSection(targets: Record<string, PublishTargetState>): string {

Callers 1

composeReleaseBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…