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:31:40 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-08-15 06:38:19 +0400
commit27c4bb606e46e5eaf604b19fe8477bc6567f8b2e (patch)
tree201c3c32d8c71ec6f0b3e257cd0f9a9844bdf0c0 /Makefile
parentcff66c3bf2850880058ebe2a26655dafd002495e (diff)
Publish with --tag=v1.4-next
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ddbdcc563..b36119db1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
# vim: set softtabstop=2 shiftwidth=2:
SHELL = bash
+PUBLISHTAG = $(shell node scripts/publish-tag.js)
+
markdowns = $(shell find doc -name '*.md' | grep -v 'index') README.md
html_docdeps = html/dochead.html \
@@ -175,7 +177,7 @@ publish: link doc
git clean -fd &&\
git push origin &&\
git push origin --tags &&\
- npm publish
+ npm publish --tag=$(PUBLISHTAG)
release:
@bash scripts/release.sh