github-tools / github-tools/github-release-notes
The CHANGELOG.md generation doesn't pull the issues from the milestone
- Lenguaje dominante
- JavaScript
- Estrellas
- 897
- Forks
- 313
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I'm trying to automate the Release note generation. Here is my `grenrc.js` .
```
module.exports = {
dataSource: "milestones",
prefix: "",
milestoneMatch: "Release {{tag_name}}",
changelogFilename: "CHANGELOG.md",
ignoreIssuesWith: ["duplicate", "wontfix", "invalid", "help wanted"],
template: {
commit: ({ message, url, author, name }) =>
`- [${message}](${url}) - ${author ? `@${author}` : name}`,
issue: "- {{labels}} {{name}} [{{text}}]({{url}})",
label: "[**{{label}}**]",
noLabel: "closed",
changelogTitle: "# Changelog\n\n",
release: "## {{release}} ({{date}})\n{{body}}",
releaseSeparator: "\n---\n\n",
group: function (placeholders) {
var icon = "🙈";
if (placeholders.heading == "Enhancements") {
icon = "🚀";
} else if (placeholders.heading == "Bug Fixes" || "Bugs") {
icon = "🐛";
} else if (placeholders.heading == "Documentation") {
icon = "📚";
} else if (placeholders.heading == "Technical Tasks") {
icon = "⚙️";
}
return "\n#### " + icon + " " + placeholders.heading + "\n";
},
},
groupBy: {
"Enhancements:": ["enhancement", "internal"],
"Bug Fixes:": ["bug"],
},
};
```
when i do a release it create a new release in my repo with commits but it doesn't fetch the issues, bugs or any other tags defined. I went through the documentation but i couldn't find on how to get that nice looking report like structure in release notes. I tried to generate the **CHANGELOG.MD** file using the `gren changelog --generate --override` but it doesn't fetch any issues or bugs. and this is how my release notes looks

Any reason why im not getting the issues on **CHANGELOG.MD** and inside the Release note.? Im new to gren and git release notes stuff.
Guía de contribución
Línea de trabajo
Start with the provided grenrc.js configuration and the `gren changelog --generate --override` command, focusing on the `milestones` data source and `milestoneMatch` setting. Reproduce the generation and verify that issues grouped under the matching milestone and labels appear in CHANGELOG.md and the release notes.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- release
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100