Permalink
Browse files

Allow publishing from non-master

  • Loading branch information...
1 parent 13d997f commit 05f7ff1e14997d2d93f1930150fab2fe1fafab61 @isaacs isaacs committed Feb 11, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 Makefile
View
@@ -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

0 comments on commit 05f7ff1

Please sign in to comment.