Skip to content

Commit

Permalink
fix: release notes generation from changelog (#3428)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-perkins authored Feb 6, 2024
1 parent aad1e4f commit 21d2de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release-notes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const getReleases = async () => {
return releasePattern.test(release.tag_name);
})
.map((release) => {
const body = renderMarkdown(release.body.replace(/^#.*/, '')).contents;
const body = renderMarkdown(release.body.replace(/^#.*/, '')).value;
const published_at = parseDate(release.published_at);
const version = release.tag_name.replace('v', '');
const type = getVersionType(version);
Expand Down

0 comments on commit 21d2de3

Please sign in to comment.