Documentation ¶
Overview ¶
Package rule provides functions to handle release rule configuration.
Index ¶
Constants ¶
View Source
const FlagType = "JSON string"
Variables ¶
View Source
var ( ErrInvalidCommitType = errors.New("invalid commit type") ErrInvalidReleaseType = errors.New("invalid release type") ErrDuplicateReleaseRule = errors.New("duplicate release rule for the same commit type") ErrNoRules = errors.New("no rule found") )
View Source
var Default = Rules{ Map: map[string]string{ "feat": "minor", "fix": "patch", "perf": "patch", "revert": "patch", }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.