]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: upload tarball before .deb build
authorSage Weil <sage@newdream.net>
Tue, 6 Oct 2009 18:08:47 +0000 (11:08 -0700)
committerSage Weil <sage@newdream.net>
Tue, 6 Oct 2009 18:08:47 +0000 (11:08 -0700)
Otherwise the final tarball includes binaries and is huuge!

build_upload_debian_packages.sh

index dcfc92355cec504f99f8a62d11a740c52f6d5950..52f4db472ca7e219404c7075e2ea570e6ab0d4f8 100755 (executable)
@@ -57,6 +57,10 @@ EOF
     tar zcf ceph-$finalvers.tar.gz ceph-$finalvers
 fi;
 
+if [ "$repo" == "stable" ]; then
+    scp ceph-$vers.tar.gz sage@ceph.newdream.net:ceph.newdream.net/downloads
+fi
+
 cd ceph-$finalvers
 ./autogen.sh
 dpkg-buildpackage -rfakeroot
@@ -65,9 +69,6 @@ cd ..
 # upload
 rsync -v --progress *$arch.{deb,changes} sage@ceph.newdream.net:debian/dists/$repo/main/binary-$arch
 rsync -v --progress ceph_* sage@ceph.newdream.net:debian/dists/$repo/main/source
-if [ "$repo" == "stable" ]; then
-    scp ceph-$vers.tar.gz sage@ceph.newdream.net:ceph.newdream.net/downloads
-fi
 
 # rebuild index
 ssh sage@ceph.newdream.net build_debian_repo.sh
\ No newline at end of file