made git commit optional and added -a -m switches to tag

This commit is contained in:
creynders 2012-04-28 14:29:47 +03:00
parent f89f974bca
commit 69140cec81

View file

@ -11,8 +11,8 @@ hook() {
if test $# -gt 0; then
hook pre-release
echo "... releasing $1"
git commit -a -m "Release $1" \
&& git tag $1 \
git commit -a -m "Prepared release $1"
git tag $1 -a -m "Release $1"\
&& git push \
&& git push --tags \
&& hook post-release \