tj.git-extras/bin/git-release
2011-05-19 14:30:31 -07:00

11 lines
182 B
Bash
Executable file

#!/bin/sh
tag="$1"
test -z "$tag" && echo "tag required" && exit 1
echo "... releasing $tag"
git tag -a "$tag" -m "Release $tag" \
&& git push --tags \
&& echo "... complete"