44 lines
1.1 KiB
YAML
Executable File
44 lines
1.1 KiB
YAML
Executable File
changesDir: changes
|
|
unreleasedDir: unreleased
|
|
headerPath: header.tpl.md
|
|
changelogPath: CHANGELOG.md
|
|
versionExt: md
|
|
versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
|
|
kindFormat: '### {{.Kind}}'
|
|
changeFormat: "* {{if not (eq .Custom.Emoji \"nil\")}}:{{.Custom.Emoji}}:{{end}} {{.Body}} {{if or .Custom.Issue .Custom.Author}}({{if not (eq .Custom.Issue \"0\")}}#[#{{.Custom.Issue}}](github.com/project/issues/{{.Custom.Issue}}) {{end}}{{if .Custom.Author}}by {{.Custom.Author}}{{end}}){{end}}"
|
|
custom:
|
|
# used to reference the value in change format
|
|
- key: Issue
|
|
label: Issue Number
|
|
type: int
|
|
minInt: 0
|
|
# maxInt: is also possible
|
|
- key: Author
|
|
label: Author Github Name
|
|
type: string
|
|
- key: Emoji
|
|
label: Flair emoji
|
|
type: enum
|
|
enumOptions:
|
|
# emoji related to gitmoji here https://gitmoji.dev/
|
|
- sparkles
|
|
- boom
|
|
- bug
|
|
- fire
|
|
- pencil2
|
|
- wastebasket
|
|
- lock
|
|
- nil
|
|
kinds:
|
|
- Added
|
|
- Changed
|
|
- Deprecated
|
|
- Removed
|
|
- Fixed
|
|
- Security
|
|
replacements:
|
|
- path: main.go
|
|
find: 'const version = ".*"'
|
|
replace: 'const version = "{{.VersionNoPrefix}}"'
|
|
|