From eec94ecd2c8bf59b6ac5404278d6ebc3d6a40aef Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Fri, 7 Jul 2023 13:47:35 -0700 Subject: [PATCH] fix: sinle full release noteslink at the end --- main.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/main.js b/main.js index f3e3dcf..e16b434 100644 --- a/main.js +++ b/main.js @@ -60,13 +60,9 @@ function toMarkdown(changelogsByComponent, event) { .map(([component, changelogs]) => { return `### ${component} -- ${changelogs.join("\n- ")} - ---- - -Full release notes: ${event.client_payload.release.html_url}`; +- ${changelogs.join("\n- ")}`; }) - .join("\n\n"); + .join("\n\nFull release notes: ${event.client_payload.release.html_url}"); } function yamlEscape(string) {