Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Path = "CHANGELOG.md"
View Source
var UpdateChangelog = updateChangelog
View Source
var WriteString = writeString
Functions ¶
func WriteChangelog ¶
func WriteToFile ¶
Types ¶
type Markdown ¶
type Markdown []string
func GenerateNewChangelog ¶
func GenerateNewChangelog(org, repo string, previousVersion, version *semver.Version, commits conventional.Commits, disableVersionHeader bool) (body Markdown)
GenerateNewChangelog generates a Markdown formatted changelog from the provided GitHub commits. It is intended to aggregate the changes from just the commits since the previous version.
type Section ¶
type Section struct { Title string Commits []*github.RepositoryCommit }
Click to show internal directories.
Click to hide internal directories.