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>2011-02-11 03:04:12 +0300
committerisaacs <i@izs.me>2011-02-11 03:04:12 +0300
commit05f7ff1e14997d2d93f1930150fab2fe1fafab61 (patch)
tree4c8cd7e86a2fb9259d4dc7eb7da76a64202ca360
parent13d997f50099f0f07c4b78963f7fe4151eda359b (diff)
Allow publishing from non-masterv0.2.18
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a8dec7864..c4f3d5963 100644
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,7 @@ version: link
&& git ci -m v$(shell npm -v)
publish: link
- [ "$(shell cat .git/HEAD)" = "ref: refs/heads/master" ] \
- && git tag -s -m v$(shell npm -v) v$(shell npm -v) \
+ git tag -s -m v$(shell npm -v) v$(shell npm -v) \
&& git push origin master \
&& npm publish