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
committerisaacs <i@izs.me>2014-08-15 02:03:08 +0400
commitec2596a7cb626772780b25b0a94a7e547a812bd5 (patch)
tree1408d323ea302a923cde5b85873ee8f953bf7f94
parent9ee55f892b8b473032a43c59912c5684fd1b39e6 (diff)
Publish with --tag=v1.4-next
-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