OSDN Git Service

Set a topic branch name when pushing
[android-x86/device-common.git] / generate-blob-scripts.sh
index ec9a915..41adce0 100755 (executable)
@@ -43,14 +43,11 @@ then
 fi
 shift
 
-DEVICES="crespo crespo4g stingray wingray panda"
+DEVICES="crespo crespo4g stingray panda"
 
 repo sync
 repo sync
 repo sync
-rm -rf device/*/tuna
-rm -rf device/*/toro
-rm -rf device/*/maguro
 
 ARCHIVEDIR=archive-$(date +%s)
 if test -d archive-ref
@@ -70,6 +67,9 @@ else
       sort -f > $ARCHIVEDIR/$DEVICENAME-with.txt
   done
   rm -rf vendor
+  rm -rf device/*/tuna
+  rm -rf device/*/toro
+  rm -rf device/*/maguro
   for DEVICENAME in $DEVICES
   do
     rm -rf out
@@ -294,7 +294,7 @@ do
     if test "$1" != "" -a "$2" != ""
     then
       echo uploading to server $1 branch $2
-      git push ssh://$1:29418/device/$MANUFACTURERNAME/$DEVICENAME.git HEAD:refs/for/$2
+      git push ssh://$1:29418/device/$MANUFACTURERNAME/$DEVICENAME.git HEAD:refs/for/$2/autoblobs
     fi
   )