ionide / KeepAChangelog

Parser and MSBuild Targets for using Keep-A-Changelog-formatted Changelogs in your Build
MIT License
30 stars 4 forks source link

Exposed an equivalent to `allReleaseNotesFor` from the Ionide.KeepAChangelog package #15

Closed MangelMaxime closed 2 years ago

MangelMaxime commented 2 years ago

Fix #13 Fix #14

This PR also add * before each section item to generate a Markdown list.

@baronfel I was not sure how to exposed the allReleaseNotesFor and the name didn't really carry a strong meaning when exposed from the core library IHMO.

So I decided to go with a ToMarkdown() member.

About the tests, I don't know how I should have added my test. At first, I add [<Tests>] on top of let changelogDataTest =, let parsingExamples = and let tests = but it was running the same tests twice.

baronfel commented 2 years ago

Thanks for this! ToMarkdown() is a perfectly fine name. The test changes are fine too - the test list is the correct place to add in the new tests, so you did everything correctly.