Skip to content

Commit c9d277a

Browse files
author
nvisionative
authored
Merge pull request #106 from nvisionative/issue-105
Add gren configuration file for more granular control over auto-generation of release notes
2 parents 054b112 + 2c20d1a commit c9d277a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.grenrc.js

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
"dataSource": "issues",
3+
"prefix": "",
4+
"onlyMilestones": false,
5+
"groupBy": {
6+
"Bugs Fixed:": ["bug"],
7+
"Closed (no labels):": ["closed"],
8+
"Documentation Improvements:": ["documentation"],
9+
"Duplicate Issues:": ["duplicate"],
10+
"Enhancements:": ["enhancement"],
11+
"Good First Issues:": ["good first issue"],
12+
"Greenkeeper Updates:": ["greenkeeper"],
13+
"Help Wanted:": ["help wanted"],
14+
"Invalid Issues:": ["invalid"],
15+
"On Hold Issues:": ["on hold"],
16+
"Questions:": ["question"],
17+
"Won't Fix:": ["wontfix"]
18+
},
19+
"changelogFilename": "CHANGELOG.md",
20+
"template": {
21+
commit: ({ message, url, author, name }) => `- [${message}](${url}) - ${author ? `@${author}` : name}`,
22+
issue: "- [{{text}}]({{url}}) {{name}}",
23+
label: "[**{{label}}**]",
24+
noLabel: "closed",
25+
group: "\n#### {{heading}}\n",
26+
changelogTitle: "# Changelog\n\n",
27+
release: "## {{release}} ({{date}})\n{{body}}",
28+
releaseSeparator: "\n---\n\n"
29+
}
30+
}

0 commit comments

Comments
 (0)