Skip to content

Instantly share code, notes, and snippets.

@redgeoff
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save redgeoff/9f69b36b186e1714e923 to your computer and use it in GitHub Desktop.
Save redgeoff/9f69b36b186e1714e923 to your computer and use it in GitHub Desktop.
tin-grunt
#!/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