From c3bc2ba4a450931f2f67347289d41a68b27ebf9a Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Fri, 20 Sep 2024 23:00:03 -0400 Subject: [PATCH] chore: bold the scope in release notes --- scripts/utils/updateChangelog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils/updateChangelog.ts b/scripts/utils/updateChangelog.ts index d8d4e7b3d..371ba5e9b 100755 --- a/scripts/utils/updateChangelog.ts +++ b/scripts/utils/updateChangelog.ts @@ -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