]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-setup: add back the dch -v command 476/head
authorAndrew Schoen <aschoen@redhat.com>
Mon, 12 Sep 2016 17:17:25 +0000 (12:17 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 12 Sep 2016 17:22:49 +0000 (12:22 -0500)
Without this command the dsc artifacts are not created correctly and
ceph-dev-build fails to find them, resulting in errors like:

"dpkg-source: error: cannot read ceph_10.2.2-508-g9bfc0cf-1.dsc: No such
file or directory"

From:
https://jenkins.ceph.com/job/ceph-dev-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=xenial,DIST=xenial,MACHINE_SIZE=huge/492/console

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-dev-setup/build/build

index fbf898b1f33d39335fd913a1d6f80319dd9ba31d..81344dc5a368659adee12e075d46e360020ad3e8 100644 (file)
@@ -96,6 +96,8 @@ srcdir=`pwd`
 if [ -d "$releasedir/$cephver" ]; then
     echo "$releasedir/$cephver already exists; reuse that release tarball"
 else
+    dch -v $cephver-1 'autobuilder'
+
     echo building tarball
     rm ceph-*.tar.gz || true
     rm ceph-*.tar.bz2 || true