Skip to content

Commit e64063c

Browse files
jbergstroemMylesBorins
authored andcommitted
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 0c933e5 commit e64063c

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
@@ -439,7 +439,8 @@ PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacO
439439
PKGDIR=out/dist-osx
440440

441441
release-only:
442-
@if `grep -q REPLACEME doc/api/*.md`; then \
442+
@if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \
443+
`grep -q REPLACEME doc/api/*.md`; then \
443444
echo 'Please update Added: tags in the documentation first.' ; \
444445
exit 1 ; \
445446
fi

0 commit comments

Comments
 (0)