Repository navigation
Keep unreleased changelog section when promote to new version - #2480
Conversation
|
@vilinski Thanks! As I'm not too familiar with this module, would you like to explain a bit what this changes? Is this a breaking change? What is the impact? |
|
Added more description |
|
Aha thanks a lot! That indeed sounds very useful, just to be absolutely sure: Do we have another API that will read the latest version and if there is one will it still read the same version as before? |
|
Yes, there is also
|
|
Thanks again! |
Description
Changelog.promoteUnreleasedto keep the### Unreleasedsection in the changelog according to https://keepachangelog.com/en/1.0.0/#effortCHANGELOG.mdfile format sample to module documentation. This is actually not related to the first change.Explanation
There is nothing big, but still. For example if we have following changelog:
Now we call in the
build.fsxsomething like this:After that only one line is changed - there is
## [0.3.0] - 2020-03-07instead of## [Unreleased].0.3.0release section, which is correct.## [Unreleased]is deleted, which is not needed, because it must be added every time manually for future changes again.This change just brings the section
## [Unreleased]back.I don't see it as breaking change, because after that it is the manual change anyway, I guess.
TODO
Feel free to open the PR and ask for help
New (API-)documentation for new features exist (Note: API-docs are enough, additional docs are in
help/markdown)unit or integration test exists (or short reasoning why it doesn't make sense)
boy scout rule: "leave the code behind in a better state than you found it" (fix warnings, obsolete members or code-style in the places you worked in)
(if new module) the module has been linked from the "Modules" menu, edit
help/templates/template.cshtml, linking to the API-reference is fine.(if new module) the module is in the correct namespace
(if new module) the module is added to Fake.sln (
dotnet sln Fake.sln add src/app/Fake.*/Fake.*.fsproj)Fake 5 API guideline is honored