mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 13:21:00 +00:00
17 lines
311 B
Go
17 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
|
|
}
|