From 25103af2f0bde7aaa1a904d12c0878d7a4ccdf0f Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Thu, 11 May 2017 12:33:29 +1000 Subject: [PATCH] build: only check REPLACEME & DEP...X for releases PR-URL: https://github.com/nodejs/node/pull/24575 Refs: https://github.com/nodejs/node/pull/24551 Refs: https://github.com/nodejs/node/pull/12958 Refs: https://github.com/nodejs/node/pull/12957 Refs: https://github.com/nodejs/node/pull/8325 Reviewed-By: Refael Ackermann Reviewed-By: Daniel Bevenius Reviewed-By: Richard Lau --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 523a3d8c541ed8..eedbf758e72167 100644 --- a/Makefile +++ b/Makefile @@ -574,8 +574,7 @@ PKG=$(TARNAME).pkg MACOSOUTDIR=out/macos release-only: - @if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \ - `grep -q REPLACEME doc/api/*.md`; then \ + @if [ "$(DISTTYPE)" = "release" ] && `grep -q REPLACEME doc/api/*.md`; then \ echo 'Please update REPLACEME in Added: tags in doc/api/*.md (See doc/releases.md)' ; \ exit 1 ; \ fi