MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / renderReleaseNotes

Function renderReleaseNotes

scripts/draft-changelog.ts:321–338  ·  view source on GitHub ↗
(version: string, date: string, from: string, commits: ParsedCommit[])

Source from the content-addressed store, hash-verified

319}
320
321function renderReleaseNotes(version: string, date: string, from: string, commits: ParsedCommit[]) {
322 const sections = renderSections(commits, renderCommitBullet);
323 const compareUrl = `${REPO_URL}/compare/${from}...v${version}`;
324
325 return [
326 `# HyperFrames v${version}`,
327 "",
328 `Released on ${date}.`,
329 "",
330 "<!-- TODO: write a 1-2 sentence release summary here. -->",
331 "",
332 sections,
333 "",
334 "## Full changelog",
335 "",
336 compareUrl,
337 ].join("\n");
338}
339
340function renderDocsUpdate(version: string, date: string, from: string, commits: ParsedCommit[]) {
341 const sections = renderSections(commits, renderMdxCommitBullet);

Callers 1

createDraftFunction · 0.85

Calls 1

renderSectionsFunction · 0.85

Tested by

no test coverage detected