github-tools / github-tools/github-release-notes
gren changelog vs gren changelog --generate inconsistency
- Lenguaje dominante
- JavaScript
- Estrellas
- 897
- Forks
- 313
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
After fiddling with the PRs for #140, I came across something that might be an inconsistency in the code.
Running:
gren changelog --include-messages=all --override
Generates `CHANGELOG.md` (with all releases) these lines (before the fix):
## v1.1.0-beta.0 (01/03/2018)
- [1.1.0-beta.0](https://api.github.com/...) - Author Authorson
After changing the template in the global scope for `templateCommits`, I rerun:
gren changelog --include-messages=all --override
Providing the same result. Which has not the updated URLs.
But if I run:
gren changelog --include-messages=all --override --generate
I get the `CHANGELOG.md` with the updated template:
## v1.1.0-beta.0 (01/03/2018)
- [1.1.0-beta.0](https://github.com/...) - Author Authorson
Is this intended, or a bug?
Guía de contribución
Línea de trabajo
Reproduce los dos comandos mostrados en el issue: gren changelog --include-messages=all --override y el mismo comando con --generate. Sigue la ruta de generación del changelog y el procesamiento de templates para determinar por qué difieren las URL actualizadas; se considera terminado cuando ambos modos aplican de forma coherente el template seleccionado y existe cobertura para los comandos indicados.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- cli, release
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100