renovate/lib/workers/pr/changelog/hbs-template.ts
2020-04-24 10:43:08 +02:00

32 lines
456 B
TypeScript

export default `### Release Notes
{{#each upgrades as |upgrade|}}
{{#if upgrade.hasReleaseNotes}}
<details>
<summary>{{upgrade.repoName}}</summary>
{{#each upgrade.releases as |release|}}
{{#if release.releaseNotes}}
### [\`v{{{release.version}}}\`]({{{release.releaseNotes.url}}})
{{#if release.compare.url}}
[Compare Source]({{release.compare.url}})
{{/if}}
{{{release.releaseNotes.body}}}
{{/if}}
{{/each}}
</details>
{{/if}}
{{/each}}`;