From 69140cec817f4e8709f49538f43d10fc1157a184 Mon Sep 17 00:00:00 2001 From: creynders Date: Sat, 28 Apr 2012 14:29:47 +0300 Subject: [PATCH] made `git commit` optional and added `-a -m` switches to `tag` --- bin/git-release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/git-release b/bin/git-release index df7f354..a085ef9 100755 --- a/bin/git-release +++ b/bin/git-release @@ -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 \