summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShelley Vohr <shelley.vohr@gmail.com>2020-10-06 09:47:36 -0700
committerShelley Vohr <shelley.vohr@gmail.com>2020-10-08 11:22:04 -0700
commit6141ca318ad52c507fd9fbc49218768b72eb8f54 (patch)
treef20981d366797e48840c21f413522cc0f5a10080 /Makefile
parentce84bacdc63017d8d7130b4f29dc78ac6ac138c8 (diff)
downloadnode-new-6141ca318ad52c507fd9fbc49218768b72eb8f54.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc450ee888..1c69810f9a 100644
--- a/Makefile
+++ b/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" ] && \