(version: string, date: string, from: string, commits: ParsedCommit[])
| 319 | } |
| 320 | |
| 321 | function 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 | |
| 340 | function renderDocsUpdate(version: string, date: string, from: string, commits: ParsedCommit[]) { |
| 341 | const sections = renderSections(commits, renderMdxCommitBullet); |
no test coverage detected