Closed TimKnight-DWP closed 10 months ago
Thanks for the report! It’s after midnight where I am, but just a quick note to say that I think the part of the code you’re looking for is in lib/lifecycles/changelog.js
@TimothyJones appreciate the response! but get some sleep 😉
@TimothyJones PR raised, happy to squash prior to merge in https://github.com/absolute-version/commit-and-tag-version/pull/108
Describe the bug When I run
npx commit-and-tag-version
any front matter on my changelog is removedMy existing changelog has some front matter:
Current behavior
Front matter is removed
Expected behavior Front matter should be maintained, so that we can attach fuller metadata to our changelogs
Environment
commit-and-tag-version
version(s): LatestPossible Solution
I am unsure where to start looking through the code, I presume it is something in the parse/write process, where the front matter gets stripped off before or after the new commit history is added