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

Commit 20934ea

Browse files
committed
[[ Edition ]] Rename community extra -> plus
1 parent d0ad416 commit 20934ea

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

builder/builder_utilities.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ An commma delimited list
679679
680680
**/
681681
function builderEditionNames
682-
return "Business,Indy,Community+,Community"
682+
return "Business,Indy,Community Plus,Community"
683683
end builderEditionNames
684684

685685
/**

builder/release-notes-template.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@
634634
border: 1ex solid rgb(48,160,209);
635635
}
636636

637-
h1.community-extra {
637+
h1.community-plus {
638638
background: rgb(129,181,22);
639639
border: 1ex solid rgb(129,181,22);
640640
}
@@ -691,9 +691,9 @@
691691
{
692692
t_class = "business";
693693
}
694-
else if (text.indexOf("Community Extra") !== -1)
694+
else if (text.indexOf("Community Plus") !== -1)
695695
{
696-
t_class = "community-extra";
696+
t_class = "community-plus";
697697
}
698698

699699
return '<h' + level + ' class="' + t_class + '" id="' + escapedText + '">'

builder/release_notes_builder.livecodescript

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,14 @@ command releaseNotesBuilderRun pEdition, pVersion, pReleaseType, pOutputDir
6969
put tFolder into tComponents[tIndex]["folder"]
7070
put "extension" into tComponents[tIndex]["metadata"]["category"]
7171

72-
if tPath is builderPrivateRepoFolder() then
73-
put "community+" into tComponents[tIndex]["metadata"]["edition"]
74-
else
75-
put "community" into tComponents[tIndex]["metadata"]["edition"]
76-
end if
72+
--!TODO move these extensions to components
73+
switch tFolder
74+
case "drawing"
75+
put "indy" into tComponents[tIndex]["metadata"]["edition"]
76+
break
77+
default
78+
put "community" into tComponents[tIndex]["metadata"]["edition"]
79+
end switch
7780
end repeat
7881
put ExtensionsGetLcbSectionName(tFolder) into tComponents[tIndex]["metadata"]["section"]
7982
end repeat

0 commit comments

Comments
 (0)