tj.git-extras/bin/git-release
Jonhnny Weslley 758e8ce8b9 Use annotated tags to release commits instead of lightweight tags
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
2011-05-19 14:26:47 -07:00

11 lines
180 B
Bash
Executable file

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