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
committerisaacs <i@izs.me>2014-08-15 02:03:44 +0400
commite4f262036080a282ad60e236a9aeebd39fde9fe4 (patch)
tree7c7db13e2cdadd7e3cd47314214b30c335b9a881
parentec2596a7cb626772780b25b0a94a7e547a812bd5 (diff)
Add 'make tag' to tag current release as latest
-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 &&\