scripts: add plain and additive build scripts
[barry.git] / git-push-all.sh
blob310a912cfa3114bf523af6844eb104bf4b5fdad5
1 #!/bin/sh
3 PATCH_CVS="$(dirname "$0")/git-patch-cvs.sh"
5 set -e
7 # Note: This push only updates non-CVS branches, and master.
8 # To push other CVS branches, do it manually, with git-patch-cvs.sh
10 git push -f --tags origin master scripts pristine-tar
11 git push -f --tags nfshome master scripts pristine-tar
13 echo "Press enter when ready for git push sourceforge.net..."
14 read
15 git push sourceforge.net master scripts pristine-tar
18 echo "Press enter when ready for git push repo.or.cz..."
19 read
21 # Now update repo.or.cz. We can be more liberal here, since repo.or.cz
22 # _should_ contain everything that can be considered public.
24 # The idea is to put everything out there, in case someone wants
25 # to work on it, or send patches.
27 # "all" and "tags" have to be done separately for some reason
29 #git push --all repo.or.cz
30 #git push --tags repo.or.cz master i18n
31 git push repo.or.cz master scripts pristine-tar
33 echo "================= NOTE: if you want to push a tag, do it manually"
34 echo "================= for both repo.or.cz and sourceforge.net!"
35 echo "Example: git push repo.or.cz barry-0.13"