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
817
817
818
818
.PHONY : release-only
819
819
release-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 \
822
821
echo ' Please update REPLACEME in Added: tags in doc/api/*.md (See doc/releases.md)' ; \
823
822
exit 1 ; \
824
823
fi
825
- @if [ " $( DISTTYPE) " ! = " nightly " ] && [ " $( DISTTYPE ) " != " next-nightly " ] && \
824
+ @if [ " $( DISTTYPE) " = " release " ] && \
826
825
` grep -q DEP...X doc/api/deprecations.md` ; then \
827
826
echo ' Please update DEP...X in doc/api/deprecations.md (See doc/releases.md)' ; \
828
827
exit 1 ; \
You can’t perform that action at this time.
0 commit comments