Skip to content

Commit

Permalink
feat: add ability to mark commit as breaking
Browse files Browse the repository at this point in the history
Signed-off-by: Ardalan Amini <[email protected]>
  • Loading branch information
ardalanamini committed Apr 29, 2023
1 parent d3b6679 commit 158bae1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion action/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(", ") })`;

Expand Down

0 comments on commit 158bae1

Please sign in to comment.