diff options
author | isaacs <i@izs.me> | 2020-12-15 22:48:11 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-12-18 22:17:43 +0300 |
commit | c6775efba65aa59f13e2a9c088dd65fd81c8b6b0 (patch) | |
tree | 615a720fd35a164469176dca0ba905cd44061ec6 /Makefile | |
parent | 9eef638499c88689acb00d812c10f0407cb95c08 (diff) |
Remove docs-clean from the publish make targetisaacs/faster-make-publish-no-docs-clean
PR-URL: https://github.com/npm/cli/pull/2357
Credit: @isaacs
Close: #2357
Reviewed-by: @nlf
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |