Skip to content

Commit

Permalink
fix: actual link at the end, not as divider
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jul 7, 2023
1 parent b740574 commit 4794fcf
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions main.js
Expand Up @@ -56,13 +56,16 @@ export function main(core, event) {
}

function toMarkdown(changelogsByComponent, event) {
return Object.entries(changelogsByComponent)
.map(([component, changelogs]) => {
return `### ${component}
return (
Object.entries(changelogsByComponent)
.map(([component, changelogs]) => {
return `### ${component}
- ${changelogs.join("\n- ")}`;
})
.join("\n\nFull release notes: ${event.client_payload.release.html_url}");
})
.join("\n\n") +
"\n\nFull release notes: ${event.client_payload.release.html_url}"
);
}

function yamlEscape(string) {
Expand Down

0 comments on commit 4794fcf

Please sign in to comment.