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 @@ -817,12 +817,11 @@ MACOSOUTDIR=out/macos
817817
818818.PHONY : release-only
819819release-only :
820- @if [ " $( DISTTYPE) " != " nightly" ] && [ " $( DISTTYPE) " != " next-nightly" ] && \
821- ` grep -q REPLACEME doc/api/* .md` ; then \
820+ @if [ " $( DISTTYPE) " = " release" ] && ` grep -q REPLACEME doc/api/* .md` ; then \
822821 echo ' Please update REPLACEME in Added: tags in doc/api/*.md (See doc/releases.md)' ; \
823822 exit 1 ; \
824823 fi
825- @if [ " $( DISTTYPE) " ! = " nightly " ] && [ " $( DISTTYPE ) " != " next-nightly " ] && \
824+ @if [ " $( DISTTYPE) " = " release " ] && \
826825 ` grep -q DEP...X doc/api/deprecations.md` ; then \
827826 echo ' Please update DEP...X in doc/api/deprecations.md (See doc/releases.md)' ; \
828827 exit 1 ; \
You can’t perform that action at this time.
0 commit comments