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 @@ -810,12 +810,11 @@ MACOSOUTDIR=out/macos
810
810
811
811
.PHONY : release-only
812
812
release-only :
813
- @if [ " $( DISTTYPE) " != " nightly" ] && [ " $( DISTTYPE) " != " next-nightly" ] && \
814
- ` grep -q REPLACEME doc/api/* .md` ; then \
813
+ @if [ " $( DISTTYPE) " = " release" ] && ` grep -q REPLACEME doc/api/* .md` ; then \
815
814
echo ' Please update REPLACEME in Added: tags in doc/api/*.md (See doc/releases.md)' ; \
816
815
exit 1 ; \
817
816
fi
818
- @if [ " $( DISTTYPE) " ! = " nightly " ] && [ " $( DISTTYPE ) " != " next-nightly " ] && \
817
+ @if [ " $( DISTTYPE) " = " release " ] && \
819
818
` grep -q DEP...X doc/api/deprecations.md` ; then \
820
819
echo ' Please update DEP...X in doc/api/deprecations.md (See doc/releases.md)' ; \
821
820
exit 1 ; \
You can’t perform that action at this time.
0 commit comments