Last active
August 29, 2015 14:08
-
-
Save redgeoff/9f69b36b186e1714e923 to your computer and use it in GitHub Desktop.
tin-grunt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ver=$1 | |
if [ -z "$ver" ] | |
then | |
echo 'usage: tin-grunt version' | |
exit | |
fi | |
tin -v $ver | |
grunt | |
git add -A | |
git commit -m "$ver" | |
git tag v$ver | |
git push origin master --tags | |
npm publish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment