★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/955819e0a3Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files

build: only check REPLACEME & DEP...X for releases

PR-URL: #24575
Refs: #24551
Refs: #12958
Refs: #12957
Refs: #8325
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information...
rvagg committed May 11, 2017
1 parent 1063e0c commit 955819e0a3aab27bef2f654e9d044f9b39e2815d
Showing with 2 additions and 3 deletions.
  1. +2 −3 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 ; \

0 comments on commit 955819e

Please sign in to comment.
You can’t perform that action at this time.