github-tools / github-tools/github-release-notes

gren changelog vs gren changelog --generate inconsistency

Aberta
#143 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
897
Forks
313
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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?

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Reproduza os dois comandos mostrados na issue: gren changelog --include-messages=all --override e o mesmo comando com --generate. Rastreie o caminho de geração do changelog e o tratamento de templates para determinar por que as URLs atualizadas diferem; estará concluído quando ambos os modos aplicarem consistentemente o template selecionado e houver cobertura para os comandos relatados.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript
Domínio
cli, release
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.