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

Commit 645caba

Browse files
committed
Merge pull request #3458 from peter-b/bugfix-16716
[Bug 16716] Ensure release notes are in server packages
2 parents 2440d2e + 32c617b commit 645caba

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

buildbot.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ dist-server: dist-server-community
163163

164164
dist-server-community:
165165
$(buildtool_command) --platform mac --platform win --platform linux \
166-
--stage server --edition community
166+
--stage server --edition community --warn-as-error
167167

168168
dist-server-commercial:
169169
$(buildtool_command) --platform mac --platform win --platform linux \
170-
--stage server --edition commercial
170+
--stage server --edition commercial --warn-as-error
171171

172172
ifeq ($(BUILD_EDITION),commercial)
173173
dist-tools: dist-tools-commercial

builder/builder_tool.livecodescript

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,18 @@ end __loadExternal
164164

165165
command __builderLog pType, pMessage
166166
local tLine
167+
168+
-- Promote builder warnings to errors, if requested
169+
if pType is "warning" and sWarnAsError then
170+
put "error" into pType
171+
end if
167172

168173
put toUpper(char 1 of pType) into char 1 of pType
169174

170175
repeat for each line tLine in pMessage
171176
write ("[" && the internet date && "]" && ":" && pType && ":" && tLine & return) to stderr
172177
end repeat
173-
if pType is "warning" and sWarnAsError or \
174-
pType is "error" then
178+
if pType is "error" then
175179
quit 1
176180
end if
177181
end __builderLog

builder/builder_utilities.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function builderBuiltDocsFolder
304304
end builderBuiltDocsFolder
305305

306306
function builderBuiltNotesFolder
307-
return builderRepoFolder() & slash & "_build/notes"
307+
return builderRepoFolder()
308308
end builderBuiltNotesFolder
309309

310310
function builderCommercialFolder

0 commit comments

Comments
 (0)