Documentation ¶
Overview ¶
Package semrel processes version control data using an analyser function, to produce data for a release note
Index ¶
Constants ¶
BumpLevel values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change interface { Category() string ExternalCategory() string BumpLevel() BumpLevel PreReleased() bool IsExternal() bool }
Change captures ChangeAnalyzer results
type ChangeAnalyzer ¶
ChangeAnalyzer analyzes a commit message and returns 0 or more entries to release note
type ReleaseData ¶
type ReleaseData struct { CurrentVersion semver.Version NextVersion semver.Version BumpLevel BumpLevel Changes map[string][]Change // Time of the commit being released Time time.Time }
ReleaseData contains information for next release
func Release ¶
func Release(input *VCSData, analyzer ChangeAnalyzer) (*ReleaseData, error)
Release processes the release data
Click to show internal directories.
Click to hide internal directories.