Permalink
Browse files

update release script to push to all remotes

  • Loading branch information...
1 parent 3d16f7e commit 3384a8d21e70793a91ddb524920b4d6ac892e550 @x42 x42 committed Mar 13, 2013
Showing with 5 additions and 3 deletions.
  1. +5 −3 release.sh
View
@@ -51,9 +51,11 @@ read -n1 a
echo
if test "$a" != "n" -a "$a" != "N"; then
- git push origin || exit 1
- #git push --tags ## would push ALL existing tags,
- git push origin "refs/tags/v${VERSION}:refs/tags/v${VERSION}" || exit 1
+ for remote in $(git remote); do
+ git push $remote || exit 1
+ #git push --tags ## would push ALL existing tags,
+ git push $remote "refs/tags/v${VERSION}:refs/tags/v${VERSION}" || exit 1
+ done
fi
ls -l "setbfree-${VERSION}.tar.gz"

0 comments on commit 3384a8d

Please sign in to comment.