summaryrefslogtreecommitdiff
path: root/bin/nwt-gitcreate
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-20 21:26:26 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-20 21:26:26 +0100
commitbaf582456e485e2e4272c0b888f9ccdb10cde499 (patch)
tree029cf372e26399b49e9b922539090528fb403d61 /bin/nwt-gitcreate
parent2533ac9afb98f8e5b236fec73f1b985ab94f8ff6 (diff)
downloadbuildscripts-baf582456e485e2e4272c0b888f9ccdb10cde499.tar.gz
buildscripts-baf582456e485e2e4272c0b888f9ccdb10cde499.tar.bz2
buildscripts-baf582456e485e2e4272c0b888f9ccdb10cde499.zip
reworked buildscripts completely, so that they can be used for several projects
Diffstat (limited to 'bin/nwt-gitcreate')
-rwxr-xr-xbin/nwt-gitcreate17
1 files changed, 0 insertions, 17 deletions
diff --git a/bin/nwt-gitcreate b/bin/nwt-gitcreate
deleted file mode 100755
index 27f4885..0000000
--- a/bin/nwt-gitcreate
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-set -xe
-
-for pkg in "$@"; do
- subdir=$(dirname $pkg)/
- pkg=$(basename $pkg)
- ssh -lnwt code.das-netzwerkteam.de "cd ~/git && ./setup-repository ${subdir}${pkg} '$pkg upstream project'"
- ssh -lnwt code.das-netzwerkteam.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/~/git/${subdir}${pkg} master
- git branch | grep upstream &>/dev/null && echo "$pkg: RELEASE BRANCH" && git push ssh://nwt@code.das-netzwerkteam.de:32032/~/git/${subdir}${pkg} upstream
- git branch | grep pristine-tar &>/dev/null && echo "$pkg: PRISTINE-TAR" && git push ssh://nwt@code.das-netzwerkteam.de:32032/~/git/${subdir}${pkg} pristine-tar
- echo "$pkg: PUSHING TAGS" && git push --tags ssh://nwt@code.das-netzwerkteam.de:32032/~/git/${subdir}${pkg}
- git remote add origin ssh://nwt@code.das-netzwerkteam.de:32032/~/git/${subdir}${pkg}
- cd ..
-done