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

Commit 125cbfb

Browse files
committed
builder: Generate commercial and community release notes separately
The release notes are actually the same, but this is the easiest way to make sure that the release notes end up in both the community and commercial editions' built guides folders.
1 parent 55d6e52 commit 125cbfb

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

buildbot.mk

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,12 @@ UPLOAD_MAX_RETRIES = 50
133133
ifeq ($(BUILD_EDITION),commercial)
134134
dist-docs: dist-docs-commercial
135135
dist-docs: dist-guide-commercial
136+
dist-notes: dist-notes-commercial
136137
endif
137138

138139
dist-docs: dist-docs-community
139140
dist-docs: dist-guide-community
141+
dist-notes: dist-notes-community
140142

141143
dist-docs-community:
142144
mkdir -p $(docs_build_dir)
@@ -153,11 +155,18 @@ dist-docs-commercial:
153155
--stage docs --edition business \
154156
--built-docs-dir $(docs_build_dir)/cooked-commercial
155157

156-
dist-notes:
158+
dist-notes-community:
157159
WKHTMLTOPDF=$(WKHTMLTOPDF) \
158160
$(buildtool_command) --platform $(buildtool_platform) \
159-
--stage notes --warn-as-error
160-
161+
--stage notes --warn-as-error \
162+
--built-docs-dir $(docs_build_dir)/cooked-community
163+
164+
dist-notes-commercial:
165+
WKHTMLTOPDF=$(WKHTMLTOPDF) \
166+
$(buildtool_command) --platform $(buildtool_platform) \
167+
--stage notes --warn-as-error \
168+
--built-docs-dir $(docs_build_dir)/cooked-commercial
169+
161170
dist-guide-community:
162171
WKHTMLTOPDF=$(WKHTMLTOPDF) \
163172
$(buildtool_command) --platform $(buildtool_platform) \

0 commit comments

Comments
 (0)