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

Commit 49ca75a

Browse files
committed
[[ Notes ]] Use edtion API for note collation
1 parent 91d212e commit 49ca75a

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

builder/builder_utilities.livecodescript

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -672,18 +672,6 @@ end builderComponentCategories
672672

673673
/**
674674
675-
Return the names of editions in notes priority order
676-
677-
Returns:
678-
An commma delimited list
679-
680-
**/
681-
function builderEditionNames
682-
return "Business,Indy,Community Plus,Community"
683-
end builderEditionNames
684-
685-
/**
686-
687675
Iterate the components directories of the public and private repositories
688676
and parse the yaml file in each subdirectory.
689677

builder/release_notes_builder.livecodescript

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ private command ComponentsCreate pComponents
135135
ComponentsCreatePath tComponent, tCollated, tBugInfo
136136
end repeat
137137

138-
repeat for each item tEdition in builderEditionNames()
139-
local tClass
140-
put replaceText(toLower(tEdition)," ","-") into tClass
138+
repeat for each item tEdition in editionNames()
139+
local tDisplayName
140+
put editionDisplayName(tEdition) into tDisplayName
141141
repeat for each item tCategory in builderComponentCategories()
142142
if NotesHaveContent(tCollated[tEdition][tCategory], tBugInfo[tEdition][tCategory]) then
143-
MarkdownAppend "notes", merge("# LiveCode [[ tEdition ]] [[ tCategory ]] changes")
144-
MarkdownAppend "updates", merge("# LiveCode [[ tEdition ]] [[ tCategory ]] changes")
143+
MarkdownAppend "notes", merge("# LiveCode [[ tDisplayName ]] [[ tCategory ]] changes")
144+
MarkdownAppend "updates", merge("# LiveCode [[ tDisplayName ]] [[ tCategory ]] changes")
145145

146146
NotesGenerate tCategory, tCollated[tEdition][tCategory], 1
147147
BugGenerate tBugInfo[tEdition][tCategory], tCategory

0 commit comments

Comments
 (0)