Documentation ¶
Index ¶
Constants ¶
View Source
const ( ChangelogHeader = "# Changelog" ChangelogFile = "CHANGELOG.md" )
Variables ¶
View Source
var (
ChangelogUpdaterHeaderRegex = regexp.MustCompile(`^# Changelog\n`)
)
View Source
var GenericUpdaterSemVerRegex = regexp.MustCompile(`\d+\.\d+\.\d+(-[\w.]+)?(.*x-releaser-pleaser-version)`)
Functions ¶
This section is empty.
Types ¶
type NewUpdater ¶
type NewUpdater func(ReleaseInfo) Updater
type ReleaseInfo ¶
type Updater ¶
func Changelog ¶
func Changelog(info ReleaseInfo) Updater
func Generic ¶
func Generic(info ReleaseInfo) Updater
func WithInfo ¶
func WithInfo(info ReleaseInfo, constructors ...NewUpdater) []Updater
Click to show internal directories.
Click to hide internal directories.