Permalink
Browse files

version bumper

  • Loading branch information...
1 parent d07c76c commit 5846adf42b7bdbf19ed8397dd2890d9df0f5d8f6 @isaacs isaacs committed Jan 11, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
View
@@ -39,7 +39,11 @@ man1/%/: doc/%/
test:
./test/run.sh
-publish:
+version: link
+ git add package.json \
+ && 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 push origin master \

0 comments on commit 5846adf

Please sign in to comment.