From c6775efba65aa59f13e2a9c088dd65fd81c8b6b0 Mon Sep 17 00:00:00 2001 From: isaacs Date: Tue, 15 Dec 2020 11:48:11 -0800 Subject: [PATCH] Remove docs-clean from the publish make target PR-URL: https://github.com/npm/cli/pull/2357 Credit: @isaacs Close: #2357 Reviewed-by: @nlf --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 83046c59aca9b..4c96615203b02 100644 --- a/Makefile +++ b/Makefile @@ -88,13 +88,13 @@ prune: @[[ "$(shell git status -s)" != "" ]] && echo "ERR: found unpruned files" && exit 1 || echo "git status is clean" -publish: gitclean ls-ok link test docs-clean docs prune +publish: gitclean ls-ok link test docs prune @git push origin :v$(shell node bin/npm-cli.js --no-timing -v) 2>&1 || true git push origin $(BRANCH) &&\ git push origin --tags &&\ node bin/npm-cli.js publish --tag=$(PUBLISHTAG) -release: gitclean ls-ok docs-clean docs prune +release: gitclean ls-ok docs prune @bash scripts/release.sh .PHONY: all latest install dev link docs clean uninstall test man docs-clean docsclean release ls-ok dev-deps prune