Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-01-13 23:20:47 +0400
committerisaacs <i@izs.me>2012-01-13 23:20:47 +0400
commit9fec6da907aa2649dbef6b48a02525eef6c7ebdc (patch)
treec4ec527d218776bc3cfecbd49d6eb7c9081fbe92 /Makefile
parent7610c379e68895905c6b8e91fca37a980931f62e (diff)
Do a git-clean when publishing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 185cac8e7..f3e6101ee 100644
--- a/Makefile
+++ b/Makefile
@@ -106,9 +106,10 @@ version: link
git ci -m v$(shell npm -v)
publish: link doc
- git tag -d v$(shell npm -v) || true
- git push origin :v$(shell npm -v) || true
- npm unpublish npm@$(shell npm -v) || true
+ @git tag -d v$(shell npm -v) || true
+ @git push origin :v$(shell npm -v) || true
+ @npm unpublish npm@$(shell npm -v) || true
+ git clean -fd
git tag -s -m v$(shell npm -v) v$(shell npm -v) &&\
git push origin --tags &&\
npm publish &&\