chore: bold the scope in release notes

This commit is contained in:
Elliot DeNolf
2024-09-20 23:00:03 -04:00
parent 040c2a2fbb
commit c3bc2ba4a4

View File

@@ -184,7 +184,7 @@ type Contributor = { name: string; username: string }
function formatCommitForChangelog(commit: GitCommit, includeBreakingNotes = false): string {
const { scope, references, description, isBreaking } = commit
let formatted = `* ${scope ? `${scope}: ` : ''}${description}`
let formatted = `* ${scope ? `**${scope}:** ` : ''}${description}`
references.forEach((ref) => {
if (ref.type === 'pull-request') {
// /issues will redirect to /pulls if the issue is a PR