mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
build: improved release lint error message
PR-URL: https://github.com/nodejs/node/pull/35523 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
4
Makefile
4
Makefile
@@ -943,7 +943,9 @@ endif
|
||||
.PHONY: release-only
|
||||
release-only: check-xz
|
||||
@if [ "$(DISTTYPE)" = "release" ] && `grep -q REPLACEME doc/api/*.md`; then \
|
||||
echo 'Please update REPLACEME in Added: tags in doc/api/*.md (See doc/guides/releases.md)' ; \
|
||||
echo 'Please update REPLACEME tags in the following doc/api/*.md files (See doc/guides/releases.md):\n' ; \
|
||||
REPLACEMES="$(shell grep -l REPLACEME doc/api/*.md)" ; \
|
||||
echo "$$REPLACEMES\n" | tr " " "\n" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@if [ "$(DISTTYPE)" = "release" ] && \
|
||||
|
||||
Reference in New Issue
Block a user