From 335cd8f952b457095ea2a66aee3db50efb63c91d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 6 Oct 2009 11:08:47 -0700 Subject: [PATCH] debian: upload tarball before .deb build Otherwise the final tarball includes binaries and is huuge! --- build_upload_debian_packages.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build_upload_debian_packages.sh b/build_upload_debian_packages.sh index dcfc92355cec5..52f4db472ca7e 100755 --- a/build_upload_debian_packages.sh +++ b/build_upload_debian_packages.sh @@ -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 -- 2.39.5