feat: migrate changelog path to CHANGELOG.md

This commit is contained in:
Micheal Wilkinson
2026-03-21 00:27:18 +00:00
parent 62f637614d
commit ba715d9965
7 changed files with 214 additions and 14 deletions

View File

@@ -19,7 +19,7 @@ import (
const (
defaultVersionFile = "release-version"
defaultVersionExpr = `^\s*([^\r\n]+)\s*$`
defaultChangelog = "changelog.md"
defaultChangelog = "CHANGELOG.md"
defaultUnreleasedTemplate = "### Breaking\n\n### Added\n\n### Changed\n\n### Removed\n\n### Fixed\n"
)
@@ -38,7 +38,7 @@ type Options struct {
// When empty, a line-oriented default matcher is used.
VersionPattern string
// Changelog is the path to the changelog file, relative to the repository
// root. When empty, changelog.md is used.
// root. When empty, CHANGELOG.md is used.
Changelog string
}