Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit b61890a

Browse files
committed
Add all notes since last GM release to the "updates" list.
Now that the range of changes considered by the release notes builder has been narrowed, it makes sense to show them all in the "updates" displayed by the auto updater.
1 parent aab3968 commit b61890a

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

builder/release_notes_builder.livecodescript

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -803,29 +803,27 @@ end V2NotesHaveContent
803803

804804
private command V2NotesGenerate pType, pCollated, pLevel
805805
MarkdownAppend "notes", V2NotesGenerateContent(pType, pCollated, pLevel)
806-
MarkdownAppend "updates", V2NotesGenerateContent(pType, pCollated, pLevel, true)
806+
MarkdownAppend "updates", V2NotesGenerateContent(pType, pCollated, pLevel)
807807
end V2NotesGenerate
808808

809809
-- If <pOnlyCurrent> is true, then only generate content that's brand new in
810810
-- the release that notes are being generated for
811-
private function V2NotesGenerateContent pType, pCollated, pLevel, pOnlyCurrent
811+
private function V2NotesGenerateContent pType, pCollated, pLevel
812812
-- Compute the content from this node + all child nodes
813813
local tContent
814814

815-
if not (pOnlyCurrent is true and (pCollated["__version"] is not sVersion)) then
816-
if (word 1 to -1 of pCollated["__markdown"]) is not empty then
817-
put pCollated["__markdown"] into tContent
818-
if the last char of tContent is not return then
819-
put return after tContent
820-
end if
815+
if (word 1 to -1 of pCollated["__markdown"]) is not empty then
816+
put pCollated["__markdown"] into tContent
817+
if the last char of tContent is not return then
818+
put return after tContent
821819
end if
822820
end if
823821

824822
-- Recurse into all child nodes
825823
local tSectionContent, tHeader
826824

827825
repeat with tId = 1 to pCollated["__count"]
828-
put V2NotesGenerateContent(pType, pCollated[tId], pLevel + 1, pOnlyCurrent) into tSectionContent
826+
put V2NotesGenerateContent(pType, pCollated[tId], pLevel + 1) into tSectionContent
829827

830828
-- Only generate a subsection header if the subsection (and all
831829
-- the subsections it contains) doesn't contain any notes

0 commit comments

Comments
 (0)