Skip to content

Commit

Permalink
fix: add gren config file so it will generate the proper release draft (
Browse files Browse the repository at this point in the history
#28)

Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
  • Loading branch information
HarikrishnanBalagopal authored Dec 11, 2020
1 parent 0072af0 commit 5c6ff6a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .grenrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
let printPreamble = true;
const preamble = `For more documentation and support please visit https://konveyor.io/move2kube/
# Changelog
`;

function printPreambleAndGroupName({ heading }) {
const line = `\n## ${heading}\n`;
if (printPreamble) {
printPreamble = false;
return preamble + line;
}
return line;
}

module.exports = {
"dataSource": "prs",
"prefix": "Move2Kube Tests ",
"groupBy":
{
"🚀 Features": ["enhancement"],
"🐛 Bug Fixes": ["bug"]
},
"template": {
"group": printPreambleAndGroupName,
"issue": ({ name, text, url }) => `- ${name} [${text}](${url})`,
}
}

0 comments on commit 5c6ff6a

Please sign in to comment.