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:
-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