mirror of
https://github.com/xiaoqidun/gitcz.git
synced 2025-04-20 08:11:23 +08:00
Compare commits
2 Commits
v1.0.4
...
8e203b7689
Author | SHA1 | Date | |
---|---|---|---|
8e203b7689 | |||
8168b719fd |
4
gitcz.go
4
gitcz.go
@ -236,11 +236,11 @@ func GenerateCommit(czCommit *CzCommit) string {
|
|||||||
commit += "\n\n"
|
commit += "\n\n"
|
||||||
}
|
}
|
||||||
if czCommit.BreakingChange != nil {
|
if czCommit.BreakingChange != nil {
|
||||||
commit += ("BREAKING CHANGE: " + *czCommit.BreakingChange)
|
commit += "BREAKING CHANGE: " + *czCommit.BreakingChange
|
||||||
commit += "\n\n"
|
commit += "\n\n"
|
||||||
}
|
}
|
||||||
if czCommit.Closes != nil {
|
if czCommit.Closes != nil {
|
||||||
commit += ("Closes fix " + *czCommit.Closes)
|
commit += "Closes fix " + *czCommit.Closes
|
||||||
}
|
}
|
||||||
return commit
|
return commit
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user