From 19c20a0943903be4739c9af6ad390d5df885d3ab Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 9 Nov 2023 16:55:43 +0100 Subject: [PATCH] [docs-only] fix changelog template for the date field References: #7691 ([docs-only] add toc to changelog) Fixes the creation of the link when the date is a string and in upper case: * link created: `changelog-for-unreleased-UNRELEASED` * link required: `changelog-for-unreleased-unreleased` --- changelog/CHANGELOG.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog/CHANGELOG.tmpl b/changelog/CHANGELOG.tmpl index 6849275e818..d74177ee87a 100644 --- a/changelog/CHANGELOG.tmpl +++ b/changelog/CHANGELOG.tmpl @@ -1,7 +1,7 @@ # Table of Contents {{ range . -}} - * [Changelog for {{ .Version }}](#changelog-for-{{ .Version | replace "." ""}}-{{ .Date -}}) + * [Changelog for {{ .Version }}](#changelog-for-{{ .Version | replace "." ""}}-{{ .Date | lower -}}) {{ end -}} {{ $allVersions := . }} {{- range $index, $changes := . }}{{ with $changes -}}