From 2168432c3616a841699814786a9bc52e7f819e6b 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 b46afaebfdbe9e..96e80e184d6314 100644 --- a/Makefile +++ b/Makefile @@ -467,7 +467,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