tj.git-extras/bin/git-release
2010-08-24 06:12:30 -07:00

13 lines
226 B
Bash
Executable file

#!/bin/sh
if test $# -gt 0; then
echo "... releasing $1"
git commit -a -m "Release $1" \
&& git tag "$1" \
&& git push \
&& git push --tags \
&& echo "... complete"
else
echo "tag required" && exit 1
fi