mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 21:21:03 +00:00
18 lines
311 B
Go
18 lines
311 B
Go
|
|
package commitparser
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/apricote/releaser-pleaser/internal/git"
|
||
|
|
)
|
||
|
|
|
||
|
|
type CommitParser interface {
|
||
|
|
Analyze(commits []git.Commit) ([]AnalyzedCommit, error)
|
||
|
|
}
|
||
|
|
|
||
|
|
type AnalyzedCommit struct {
|
||
|
|
git.Commit
|
||
|
|
Type string
|
||
|
|
Description string
|
||
|
|
Scope *string
|
||
|
|
BreakingChange bool
|
||
|
|
}
|