Keep unreleased changelog section when promote to new version #2480
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Changelog.promoteUnreleased
to keep the### Unreleased
section in the changelog according to https://keepachangelog.com/en/1.0.0/#effortCHANGELOG.md
file 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.fsx
something like this:After that only one line is changed - there is
## [0.3.0] - 2020-03-07
instead of## [Unreleased]
.0.3.0
release 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