feat: add ability to mark commit as breaking

Signed-off-by: Ardalan Amini <[email protected]>
This commit is contained in:
Ardalan Amini committed 2023-04-30 01:43:34 +03:30
1 parent f676806e7f
commit d3b6679b6f
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ export async function generateChangelog(lastSha?: string): Promise<string> {
}
for (const { breaking, description, references } of logs) {
let line = `${ prefix }* ${ breaking ? "**breaking: **" : "" }${ description }`;
let line = `${ prefix }* ${ breaking ? "**breaking:** " : "" }${ description }`;
if (references.length > 0) line += ` (${ references.join(", ") })`;