build: add link for migration into changelog #915

This commit is contained in:
Sören Weber 2024-09-12 15:02:18 +02:00
parent 7d927f1925
commit a185305586
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -45,6 +45,6 @@ module.exports = {
onlyMilestones: true,
template: {
group: "\n### {{heading}}\n",
release: ({ body, date, release }) => `## ${release} (` + date.replace( /(\d+)\/(\d+)\/(\d+)/, '$3-$2-$1' ) + `)\n${body}`,
release: ({ body, date, release }) => `## ${release} (` + date.replace( /(\d+)\/(\d+)\/(\d+)/, '$3-$2-$1' ) + `)\n\n[What's new in this release](https://mcshelby.github.io/hugo-theme-relearn/basics/migration/#` + release.replace( /(\d+)\.(\d+)\.(\d+)/, '$1$2$3' ) + `)\n${body}`,
},
};