From 99df574b398f41406fb1a85e438da68f3a6277a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstr=C3=B6m?= Date: Mon, 29 Aug 2016 15:18:46 -0300 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/8325 Fixes: https://github.com/nodejs/build/issues/478 Reviewed-By: Anna Henningsen Reviewed-By: James Snell Reviewed-By: Michael Dawson Reviewed-By: Ben Noordhuis --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e12bee8bec92cc..548dea7139b85b 100644 --- a/Makefile +++ b/Makefile @@ -439,7 +439,8 @@ PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacO PKGDIR=out/dist-osx release-only: - @if `grep -q REPLACEME doc/api/*.md`; then \ + @if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \ + `grep -q REPLACEME doc/api/*.md`; then \ echo 'Please update Added: tags in the documentation first.' ; \ exit 1 ; \ fi