Skip to content

Commit 2168432

Browse files
committed
build: don't require processing docs for nightlies
Opt-out `nightly` and `next-nightly` from the documentation requirement since these docs aren't meant to be published. This fixes our nightly jobs in CI. PR-URL: #8325 Fixes: nodejs/build#478 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent f7dd3bc commit 2168432

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,8 @@ PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacO
467467
PKGDIR=out/dist-osx
468468

469469
release-only:
470-
@if `grep -q REPLACEME doc/api/*.md`; then \
470+
@if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \
471+
`grep -q REPLACEME doc/api/*.md`; then \
471472
echo 'Please update Added: tags in the documentation first.' ; \
472473
exit 1 ; \
473474
fi

0 commit comments

Comments
 (0)