mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
made git commit optional and added -a -m switches to tag
This commit is contained in:
parent
f89f974bca
commit
69140cec81
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue