docs: fix branch name in chglog configuration
Fix the main branch name in the template CHANGELOG file for the git chglog tool.
This commit is contained in:
parent
7b1ff91ede
commit
1682dac4af
@ -31,7 +31,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
|
||||
[git-chglog]: https://github.com/git-chglog/git-chglog
|
||||
|
||||
{{- if .Versions }}
|
||||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...develop
|
||||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...main
|
||||
{{ range .Versions -}}
|
||||
{{ if .Tag.Previous -}}
|
||||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
|
||||
|
Loading…
Reference in New Issue
Block a user