Skip to content

Commit a8402fe

Browse files
committedNov 28, 2018
build: only check REPLACEME & DEP...X for releases
PR-URL: #24575 Refs: #24551 Refs: #12958 Refs: #12957 Refs: #8325 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 78d9a5e commit a8402fe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -762,12 +762,11 @@ PKG=$(TARNAME).pkg
762762
MACOSOUTDIR=out/macos
763763

764764
release-only:
765-
@if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \
766-
`grep -q REPLACEME doc/api/*.md`; then \
765+
@if [ "$(DISTTYPE)" = "release" ] && `grep -q REPLACEME doc/api/*.md`; then \
767766
echo 'Please update REPLACEME in Added: tags in doc/api/*.md (See doc/releases.md)' ; \
768767
exit 1 ; \
769768
fi
770-
@if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \
769+
@if [ "$(DISTTYPE)" = "release" ] && \
771770
`grep -q DEP00XX doc/api/deprecations.md`; then \
772771
echo 'Please update DEP00XX in doc/api/deprecations.md (See doc/releases.md)' ; \
773772
exit 1 ; \

0 commit comments

Comments
 (0)
Please sign in to comment.