From 6aa5896d1b14eb59d4d2c5b1a725b8eed1abfa64 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Thu, 11 May 2017 12:33:29 +1000 Subject: [PATCH] build: only require docs 'Added' fixes for release --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 94e6ff455cca1c..750df459c0320e 100644 --- a/Makefile +++ b/Makefile @@ -662,8 +662,7 @@ PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacO PKGDIR=out/dist-osx 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