-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add gren config file so it will generate the proper release draft (
#28) Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
- Loading branch information
1 parent
0072af0
commit 5c6ff6a
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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})`, | ||
} | ||
} |