microsoft / rushstack

Monorepo for tools developed by the Rush Stack community
https://rushstack.io/
Other
5.82k stars 592 forks source link

[rush] feature - copy conventional-changelog to entries if exists #2022

Open knownasilya opened 4 years ago

knownasilya commented 4 years ago

Is this a feature or a bug?

Please describe the actual behavior.

Before rush I was using https://github.com/conventional-changelog/standard-version for my changelog, now rush publish blows that away and I have to start fresh, which is not optimal. Have rush consume the old changelog and if in that format convert it to entries.

Example https://github.com/Strider-CD/strider/commit/74f538e30f29cfb036288933312b1559d4435f48#diff-f37cc94e30f3ebebe608bd1f5d2e56b7

What is the expected behavior?

Don't blow away contents of existing changelog.

iclanton commented 4 years ago

Rush generates the CHANGELOG.md files from the CHANGELOG.json files under each project. It looks like it'd be pretty straightforward to put together a tool to Rush's JSON format. This might be a useful starting place for a simple tool that loops through a Rush repo's projects.