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:
authorKenan Yildirim <kenan@kenany.me>2015-01-10 20:10:22 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-01-24 08:00:54 +0300
commit102708704c8c4f0ea99775d38f8d1efecf584940 (patch)
treeab532a4417cc24dde1f6b821bb0c36f62ec8b9fd /Makefile
parent0d173287336650606d4c91818bb7bcfb0c5d57a1 (diff)
add script for updating AUTHORS file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 34d4b62de..8ec309ea7 100644
--- a/Makefile
+++ b/Makefile
@@ -230,7 +230,12 @@ test: doc
tag:
npm tag npm@$(PUBLISHTAG) latest
-publish: link doc
+authors:
+ @bash scripts/update-authors.sh &&\
+ git add AUTHORS &&\
+ git commit -m "update AUTHORS"
+
+publish: link doc authors
@git push origin :v$(shell npm -v) 2>&1 || true
git clean -fd &&\
git push origin $(BRANCH) &&\
@@ -243,4 +248,4 @@ release:
sandwich:
@[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || (echo "make it yourself" && exit 13)
-.PHONY: all latest install dev link doc clean uninstall test man doc-clean docclean release
+.PHONY: all latest install dev link doc clean uninstall test man doc-clean docclean release authors