summaryrefslogtreecommitdiff
path: root/Makefile
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:33:55 +1100
commit89e8fc4520d094281b43d95d60e6c317e056a3a4 (patch)
tree488f581427213de5ce1cecc7fcbfe0e2af97b6b6 /Makefile
parentc3474f511e7ca7fe7fb9182c7f3ce8e3b2e6e577 (diff)
downloadandroid-node-v8-89e8fc4520d094281b43d95d60e6c317e056a3a4.tar.gz
android-node-v8-89e8fc4520d094281b43d95d60e6c317e056a3a4.tar.bz2
android-node-v8-89e8fc4520d094281b43d95d60e6c317e056a3a4.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 71378b21f4..0bd83a21ba 100644
--- a/Makefile
+++ b/Makefile
@@ -817,12 +817,11 @@ MACOSOUTDIR=out/macos
.PHONY: release-only
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 DEP...X doc/api/deprecations.md`; then \
echo 'Please update DEP...X in doc/api/deprecations.md (See doc/releases.md)' ; \
exit 1 ; \