summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRod Vagg <rod@vagg.org>2017-05-11 12:33:29 +1000
committerRod Vagg <rod@vagg.org>2018-11-28 23:52:35 +1100
commita8402fe1c87a378605d217f932ff7a701f69a4d1 (patch)
tree7cb96d6f14322157cbc34520ab3c28c80db062d3
parent78d9a5e6e43252270c09aa4f71b36e4e42ba3be9 (diff)
downloadnode-new-a8402fe1c87a378605d217f932ff7a701f69a4d1.tar.gz
build: only check REPLACEME & DEP...X for releases
PR-URL: https://github.com/nodejs/node/pull/24575 Refs: https://github.com/nodejs/node/pull/24551 Refs: https://github.com/nodejs/node/pull/12958 Refs: https://github.com/nodejs/node/pull/12957 Refs: https://github.com/nodejs/node/pull/8325 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fe7595bea7..799bb2640e 100644
--- a/Makefile
+++ b/Makefile
@@ -762,12 +762,11 @@ PKG=$(TARNAME).pkg
MACOSOUTDIR=out/macos
release-only:
- @if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \
- `grep -q REPLACEME doc/api/*.md`; then \
+ @if [ "$(DISTTYPE)" = "release" ] && `grep -q REPLACEME doc/api/*.md`; then \
echo 'Please update REPLACEME in Added: tags in doc/api/*.md (See doc/releases.md)' ; \
exit 1 ; \
fi
- @if [ "$(DISTTYPE)" != "nightly" ] && [ "$(DISTTYPE)" != "next-nightly" ] && \
+ @if [ "$(DISTTYPE)" = "release" ] && \
`grep -q DEP00XX doc/api/deprecations.md`; then \
echo 'Please update DEP00XX in doc/api/deprecations.md (See doc/releases.md)' ; \
exit 1 ; \