summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohan Bergström <bugs@bergstroem.nu>2016-08-29 15:18:46 -0300
committerJohan Bergström <bugs@bergstroem.nu>2016-09-01 08:58:54 -0300
commit2168432c3616a841699814786a9bc52e7f819e6b (patch)
tree8f7a56cce8cd95f944e2b48889a2153563d3ab74 /Makefile
parentf7dd3bc19ffe031d4610b0250f7a0f6fa5c6eba9 (diff)
downloadandroid-node-v8-2168432c3616a841699814786a9bc52e7f819e6b.tar.gz
android-node-v8-2168432c3616a841699814786a9bc52e7f819e6b.tar.bz2
android-node-v8-2168432c3616a841699814786a9bc52e7f819e6b.zip
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 <anna@addaleax.net> Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b46afaebfd..96e80e184d 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