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>2014-08-15 01:32:42 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-08-15 06:38:38 +0400
commitb6bb7461824d4dc1c0936f46bd7929b5cd597986 (patch)
treefedebd74489670500594ca8ac3207904946e0797 /Makefile
parent27c4bb606e46e5eaf604b19fe8477bc6567f8b2e (diff)
Add 'make tag' to tag current release as latest
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b36119db1..a5041faef 100644
--- a/Makefile
+++ b/Makefile
@@ -172,6 +172,9 @@ man: $(cli_docs) $(api_docs)
test: doc
node cli.js test
+tag:
+ npm tag npm@$(PUBLISHTAG) latest
+
publish: link doc
@git push origin :v$(shell npm -v) 2>&1 || true
git clean -fd &&\