Update publish script.

This commit is contained in:
Jürg Lehni 2013-06-27 00:35:54 -07:00
parent 3078d127a9
commit 24b4c931b5

View file

@ -23,6 +23,10 @@ VERSION=$(node -e "
process.stdout.write(require('../package.json').version)
")
# Commit
git commit -m "Update version to v$VERSION."
git commit -m "Bump version to v$VERSION"
# Tag
git tag "v$VERSION"
# Push
git push
# Publish
npm publish ..