github-tools / github-release-notes

Node module to create a release or a changelog from a tag and uses issues or commits to creating the release notes.
https://github-tools.github.io/github-release-notes/
GNU General Public License v3.0
880 stars 325 forks source link

How to remove [label] prefix in the groupBy'd issue release generation? #290

Closed xetra11 closed 3 years ago

xetra11 commented 3 years ago

I am having the following gren.yml configuration file:

  dataSource: "issues"
  prefix: "v"
  includeMessages: "commits"
  changelogFilename: "CHANGELOG.md"
  ignoreCommitsWith: ["chore", "github"]
  ignoreIssuesWith: "continues deployment"
  groupBy:
    Enhancements: ["enhancement", "feature"]
    Bug Fixes: ["bug"]

It does group the labels properly but also prefix's the issue title in the changelog with the label:


Enhancements

Bug Fixes


I want to get rid of the [**enhancement**] and [**bug**] prefix here. Any idea how to do so?

The custom template mentioned here: https://github-tools.github.io/github-release-notes/options.html#configuration-file seems only work for the changelog not the release.

Reading this it seems there is not way to customize the release body is that right? https://github.com/github-tools/github-release-notes/issues/139

xetra11 commented 3 years ago

nevermind it did work but I forgot to create issues to test :1st_place_medal: