Skip to content

Commit

Permalink
fix: reduce heading of changelog sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-de-Jong committed Jun 19, 2023
1 parent 3413c6c commit 59ab67a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10806,7 +10806,7 @@ function generateChangelog(version, commits) {
});
if (categoryCommits.length === 0)
return "";
return `## ${category.title}\n\n${categoryCommits
return `### ${category.title}\n\n${categoryCommits
.map(commit => `- ${firstCharToUpperCase(commit.description)}`)
.join("\n")}\n\n`;
}).join("\n")}`;
Expand Down
2 changes: 1 addition & 1 deletion src/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export function generateChangelog(version: SemVer, commits: IConventionalCommit[
if (categoryCommits.length === 0) return "";
return `## ${category.title}\n\n${categoryCommits
return `### ${category.title}\n\n${categoryCommits
.map(commit => `- ${firstCharToUpperCase(commit.description)}`)
.join("\n")}\n\n`;
})
Expand Down

0 comments on commit 59ab67a

Please sign in to comment.