diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/itzks-gitcreate | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/itzks-gitcreate b/bin/itzks-gitcreate index 8232ae2..30a7b62 100755 --- a/bin/itzks-gitcreate +++ b/bin/itzks-gitcreate @@ -5,12 +5,12 @@ set -e for pkg in "$@"; do subdir=$(dirname $pkg) pkg=$(basename $pkg) - ssh -lnwt code.das-netzwerkteam.de "cd /srv/git/code.das-netzwerkteam.de && ./setup-repository $subdir/$pkg '$pkg upstream project'" - ssh -lnwt code.das-netzwerkteam.de "cd /srv/git/code.das-netzwerkteam.de && ./update-repository-posixacls $subdir/$pkg" + ssh -litzks code.it-zukunft-schule.de "cd ~/git && ./setup-repository $subdir/$pkg '$pkg upstream project'" + ssh -litzks code.it-zukunft-schule.de "cd ~/git && ./update-repository-posixacls $subdir/$pkg" test -d "$pkg" && cd "$pkg" - echo "$pkg: MASTER BRANCH" && git push ssh://nwt@code.das-netzwerkteam.de:32032/srv/git/code.das-netzwerkteam.de/$subdir/$pkg master - git branch | grep upstream &>/dev/null && echo "$pkg: RELEASE BRANCH" && git push ssh://nwt@code.das-netzwerkteam.de:32032/srv/git/code.das-netzwerkteam.de/$subdir/$pkg upstream - git branch | grep pristine-tar &>/dev/null && echo "$pkg: PRISTINE-TAR" && git push ssh://nwt@code.das-netzwerkteam.de:32032/srv/git/code.das-netzwerkteam.de/$subdir/$pkg pristine-tar - echo "$pkg: PUSHING TAGS" && git push --tags ssh://nwt@code.das-netzwerkteam.de:32032/srv/git/code.das-netzwerkteam.de/$subdir/$pkg + echo "$pkg: MASTER BRANCH" && git push ssh://itzks@code.it-zukunft-schule.de:32032~/git/$subdir/$pkg master + git branch | grep upstream &>/dev/null && echo "$pkg: RELEASE BRANCH" && git push ssh://itzks@code.it-zukunft-schule.de:32032~/git/code.itzks.de/$subdir/$pkg upstream + git branch | grep pristine-tar &>/dev/null && echo "$pkg: PRISTINE-TAR" && git push ssh://itzks@code.it-zukunft-schule.de:32032~/git/$subdir/$pkg pristine-tar + echo "$pkg: PUSHING TAGS" && git push --tags ssh://itzks@code.it-zukunft-schule.de:32032~/git/$subdir/$pkg cd .. done |