Skip to content

Commit

Permalink
add tagging into deploy-github target in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ekalinin committed Nov 13, 2013
1 parent b5b1245 commit 72e4da9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ test:
./node_modules/expresso/bin/expresso ./tests/sitemap.test.js

deploy-github:
git push --tags origin master
@git tag `grep "version" package.json | grep -o -E '[0-9]\.[0-9]\.[0-9]{1,2}'`
@git push --tags origin master

deploy-npm:
npm publish
Expand Down

0 comments on commit 72e4da9

Please sign in to comment.