Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Tpl is the standard changelog template. Execute it with a Values struct Tpl = template.Must(template.New("changelog").Parse(tplStr)) )
Functions ¶
func SingleRepoVals ¶
func SingleRepoVals(client *github.Client, vals *Values, sha, name string, includeRepoName bool) ([]string, error)
SingleRepoVals generates a changelog entry from vals.OldRelease to sha. It returns the commits that were unparseable (and had to be skipped) or any error encountered during the process. On a nil error, vals is filled in with all of the sorted changelog entries. Note that any nil commits will not be in the returned string slice
Types ¶
type Values ¶
type Values struct { OldRelease string NewRelease string Features []string Fixes []string Documentation []string Maintenance []string }
Values represents the values that are required to render a changelog
func MergeValues ¶
MergeValues merges all of the slices in vals together into a single Values struct which has OldRelease set to oldRel and NewRelease set to newRel
Click to show internal directories.
Click to hide internal directories.