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
762
762
MACOSOUTDIR =out/macos
763
763
764
764
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 \
767
766
echo ' Please update REPLACEME in Added: tags in doc/api/*.md (See doc/releases.md)' ; \
768
767
exit 1 ; \
769
768
fi
770
- @if [ " $( DISTTYPE) " ! = " nightly " ] && [ " $( DISTTYPE ) " != " next-nightly " ] && \
769
+ @if [ " $( DISTTYPE) " = " release " ] && \
771
770
` grep -q DEP00XX doc/api/deprecations.md` ; then \
772
771
echo ' Please update DEP00XX in doc/api/deprecations.md (See doc/releases.md)' ; \
773
772
exit 1 ; \
You can’t perform that action at this time.
0 commit comments