Skip to content
Snippets Groups Projects
Verified Commit 3ce6f60b authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: other commits

parent 48a7528c
No related branches found
No related tags found
No related merge requests found
......@@ -13,10 +13,10 @@ import (
type CommitType int
const (
FixCommit CommitType = iota
OtherCommit CommitType = iota
FeatCommit
BreakingCommit
OtherCommit
FixCommit
)
func GetCommitType(path string) (CommitType, error) {
......@@ -107,10 +107,8 @@ func getCommitTypeSinceTag(r *git.Repository, tagCommit *object.Commit) (CommitT
commitType = BreakingCommit
found = true
return storer.ErrStop // stop iteration
} else {
commitType = OtherCommit
}
return nil
})
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment