Update publish script to include NPM publishing

This commit is contained in:
Andrew Miner
2015-05-24 11:44:46 -04:00
parent 06eea0aa48
commit d6ac493cbf
+9
View File
@@ -4,3 +4,12 @@ git checkout production \
&& git rebase master \
&& git push \
&& git checkout master
read VERSION_TYPE -p "Major, minor, patch? "
if [[ "$VERSION_TYPE" == "" ]]; then
exit 1
fi
npm version "$VERSION_TYPE"
npm publish