Skip to content

Commit

Permalink
build: add link for migration into changelog #915
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Sep 12, 2024
1 parent 7d927f1 commit a185305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .grenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
},
};

0 comments on commit a185305

Please sign in to comment.