File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -762,12 +762,11 @@ PKG=$(TARNAME).pkg
762762MACOSOUTDIR =out/macos
763763
764764release-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 ; \
You can’t perform that action at this time.
0 commit comments