From bb5aca4be4955fa35becc94f0e3c823a5ff1c90c Mon Sep 17 00:00:00 2001 From: Andreas Scheibal Date: Wed, 15 Jul 2020 13:22:29 +0200 Subject: [PATCH] feat: github release notes --- .grenrc.js | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .grenrc.js diff --git a/.grenrc.js b/.grenrc.js new file mode 100644 index 0000000..b211ec5 --- /dev/null +++ b/.grenrc.js @@ -0,0 +1,35 @@ +module.exports = { + "dataSource": "prs", + "prefix": "", + "onlyMilestones": false, + "groupBy": { + "Enhancements": [ + "enhancement", + "internal", + "feat", + "feature", + "code improvement" + ], + "Bug Fixes": [ + "fix", + "bug" + ], + "Documentation": [ + "doc", + "documentation" + ], + "Others": [ + "other" + ] + }, + "changelogFilename": "CHANGELOG.md", + "template": { + commit: ({ message, url, author, name }) => `- [${message}](${url}) - ${author ? `@${author}` : name}`, + issue: "- {{name}} [{{text}}]({{url}})", + noLabel: "other", + group: "\n#### {{heading}}\n", + changelogTitle: "# Changelog\n\n", + release: "## {{release}} ({{date}})\n{{body}}", + releaseSeparator: "\n---\n\n" + } +}