diff --git a/Makefile b/Makefile index e12bee8bec92cc..548dea7139b85b 100644 --- a/Makefile +++ b/Makefile @@ -439,7 +439,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