mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
build: add link for migration into changelog #915
This commit is contained in:
parent
7d927f1925
commit
a185305586
1 changed files with 1 additions and 1 deletions
|
@ -45,6 +45,6 @@ module.exports = {
|
||||||
onlyMilestones: true,
|
onlyMilestones: true,
|
||||||
template: {
|
template: {
|
||||||
group: "\n### {{heading}}\n",
|
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}`,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue