Skip to content

Commit 6aa5896

Browse files
committed
build: only require docs 'Added' fixes for release
1 parent 330c8d7 commit 6aa5896

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,7 @@ PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacO
662662
PKGDIR=out/dist-osx
663663

664664
release-only:
665-
@if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \
666-
`grep -q REPLACEME doc/api/*.md`; then \
665+
@if [ "$(DISTTYPE)" == "release" ] && `grep -q REPLACEME doc/api/*.md`; then \
667666
echo 'Please update REPLACEME in Added: tags in doc/api/*.md (See doc/releases.md)' ; \
668667
exit 1 ; \
669668
fi

0 commit comments

Comments
 (0)