From 1682dac4afb5d6114823acfec91f1497dd460c18 Mon Sep 17 00:00:00 2001 From: Hector Date: Sun, 28 Mar 2021 17:09:53 +0100 Subject: [PATCH] docs: fix branch name in chglog configuration Fix the main branch name in the template CHANGELOG file for the git chglog tool. --- tools/chglog/CHANGELOG.tpl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/chglog/CHANGELOG.tpl.md b/tools/chglog/CHANGELOG.tpl.md index fd7c7d3..0c7fa49 100755 --- a/tools/chglog/CHANGELOG.tpl.md +++ b/tools/chglog/CHANGELOG.tpl.md @@ -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 }}