#!/bin/sh

git pull --rebase

echo ""
node ./scripts/version.js
echo ""

read -p "New Version [major|minor|patch]: " version
npm version $version

npm publish

git push --follow-tags

#!/bin/sh

git pull --rebase

npm test

echo ""
node ./scripts/version.js
echo ""

read -p "New Version [major|minor|patch]: " version
npm version $version

npm publish

git push --follow-tags

--- 
+++ 
@@ -1,6 +1,8 @@
 #!/bin/sh
 
 git pull --rebase
+
+npm test
 
 echo ""
 node ./scripts/version.js
Remove the running of the nonexistent test
