mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-02 14:38:47 +00:00
feat: add ability to mark commit as breaking
Signed-off-by: Ardalan Amini <[email protected]>
This commit is contained in:
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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(", ") })`;
|
||||
|
||||
|
||||
Reference in new issue
Block a user