]> cvs.zerfleddert.de Git - m1-debian/commitdiff
speedup upload
authorThomas Glanzmann <thomas@glanzmann.de>
Wed, 16 Feb 2022 16:11:21 +0000 (17:11 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Wed, 16 Feb 2022 16:11:21 +0000 (17:11 +0100)
bootstrap.sh

index 89df6174fce9e1f28f16bfead74494fc337770a1..f6d091132ee0eaf0095f4d50fa9f80fb6f68c71e 100644 (file)
@@ -155,20 +155,11 @@ build_di_stick()
         (cd di-stick; tar cf ../m1-d-i.tar .)
 }
 
-upload()
-{
-        unset MYCURLARGS;
-        for FILE in "$@"; do
-                MYCURLARGS="$MYCURLARGS -F file=@${FILE}";
-        done;
-        curl -4 -n -D - $MYCURLARGS https://upload.glanzmann.de/ | grep ^x-location | awk '{print $2}'
-}
-
 upload_artefacts()
 {
         export KERNEL=`ls -1rt linux-image*.deb | grep -v dbg | tail -1`
         cp ${KERNEL} k.deb
-        upload m1-d-i.tar m1.tgz asahi-debian-live.tar u-boot.bin u-boot.macho di-stick/vmlinuz k.deb
+        scp m1-d-i.tar m1.tgz asahi-debian-live.tar u-boot.bin u-boot.macho di-stick/vmlinuz k.deb root@tg.st:/u/
 }
 
 mkdir -p build
Impressum, Datenschutz