Skip to content

Commit 9ba5fd6

Browse files
rvaggBethGriggs
authored andcommittedMar 7, 2019
build: only check REPLACEME & DEP...X for releases
PR-URL: #24575 Refs: #24551 Refs: #12958 Refs: #12957 Refs: #8325 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
1 parent 1371a6f commit 9ba5fd6

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
@@ -574,8 +574,7 @@ PKG=$(TARNAME).pkg
574574
MACOSOUTDIR=out/macos
575575

576576
release-only:
577-
@if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \
578-
`grep -q REPLACEME doc/api/*.md`; then \
577+
@if [ "$(DISTTYPE)" = "release" ] && `grep -q REPLACEME doc/api/*.md`; then \
579578
echo 'Please update REPLACEME in Added: tags in doc/api/*.md (See doc/releases.md)' ; \
580579
exit 1 ; \
581580
fi

0 commit comments

Comments
 (0)
Please sign in to comment.