mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
enhance: conventional commit message builder supports breaking changes prefix (#584)
This commit is contained in:
parent
3804b0a828
commit
00a2ec5abe
1 changed files with 5 additions and 4 deletions
|
@ -68,12 +68,13 @@ namespace SourceGit.ViewModels
|
||||||
{
|
{
|
||||||
builder.Append("(");
|
builder.Append("(");
|
||||||
builder.Append(_scope);
|
builder.Append(_scope);
|
||||||
builder.Append("): ");
|
builder.Append(")");
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
if (string.IsNullOrEmpty(_breakingChanges))
|
||||||
builder.Append(": ");
|
builder.Append(": ");
|
||||||
}
|
else
|
||||||
|
builder.Append("!: ");
|
||||||
|
|
||||||
builder.Append(_description);
|
builder.Append(_description);
|
||||||
builder.Append("\n\n");
|
builder.Append("\n\n");
|
||||||
|
|
Loading…
Reference in a new issue