Skip to content

Commit 27ab019

Browse files
committed
Update package URLs as part of updating namespace ToCs
1 parent 1bd8602 commit 27ab019

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tools/scripts/npm_publish

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,14 @@ update_namespace_tocs() {
248248
make FILES="${files}" markdown-namespace-tocs-files
249249
if [[ "$?" -ne 0 ]]; then
250250
echo '' >&2
251-
echo 'Error: unexpected error. Encountered an error when updating namespace READMEs.' >&2
251+
echo 'Error: unexpected error. Encountered an error when updating namespace README table of contents.' >&2
252+
echo '' >&2
253+
return 1
254+
fi
255+
make FILES="${files}" markdown-pkg-urls-files
256+
if [[ "$?" -ne 0 ]]; then
257+
echo '' >&2
258+
echo 'Error: unexpected error. Encountered an error when updating namespace README package URLs.' >&2
252259
echo '' >&2
253260
return 1
254261
fi

0 commit comments

Comments
 (0)