File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,18 @@ cd $releasedir
6060perl -ni -e ' print if(!(/^Package: .*-dbg$/../^$/))' ceph-$vers /debian/control
6161perl -pi -e ' s/--dbg-package.*//' ceph-$vers /debian/rules
6262
63+ # For cache hit consistency, allow CI builds to use a build directory whose name
64+ # does not contain version information
65+ if [ " ${CEPH_BUILD_NORMALIZE_PATHS} " = ' true' ]; then
66+ mv ceph-$vers ceph
67+ cd ceph
68+ else
69+ cd ceph-$vers
70+ fi
71+
6372#
6473# update the changelog to match the desired version
6574#
66- cd ceph-$vers
6775chvers=$( head -1 debian/changelog | perl -ne ' s/.*\(//; s/\).*//; print' )
6876if [ " $chvers " != " $dvers " ]; then
6977 DEBEMAIL=
" [email protected] " dch -D
$VERSION_CODENAME --force-distribution -b -v
" $dvers " " new version"
You can’t perform that action at this time.
0 commit comments