Skip to content

Commit

Permalink
Release notes formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
toebeann committed Mar 16, 2024
1 parent 1281f45 commit ddc3911
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ if (import.meta.main) {
tag_name: `v${version}`,
target_commitish: commit.commit,
name: `v${version}`,
body: `## Release notes
body: `# Payload auto-update
${
(updatedSources ?? []).map((source) => {
Expand All @@ -534,9 +534,9 @@ ${
if (!release || !parsed?.owner || !parsed?.name) return "";
return `<details>
<summary>${parsed.owner}/${parsed.name}</summary>
<summary>Update ${parsed.repository} to ${release.tag_name}</summary>
${release.name ?? ""} ${release.tag_name} [Link](${release.html_url})
## [Release notes](${release.html_url})
${release.body ?? "No release notes provided."}
Expand Down

0 comments on commit ddc3911

Please sign in to comment.