From a830e37dc935511948118ae017c300886e2574e2 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 26506b45997069..4b3886aced4521 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