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

gren changelog vs gren changelog --generate inconsistency

オープン
#143 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
897
フォーク
313
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Reproduce the two commands shown in the issue: gren changelog --include-messages=all --override and the same command with --generate. Trace the changelog generation path and template handling to determine why the updated URLs differ; done when both modes consistently apply the selected template, with coverage for the reported commands.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
cli, release
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。