Our existing CI builds have names like:
ceph-base_20
.0.0-194-g6efaea33-1jammy_amd64.deb
Before this change, they are like:
ceph-base_20
.0.0-158-gb0de3a42-1_amd64.deb
This way we can pass e.g. "jammy" to end up with names compatible with our CI
builds.
Signed-off-by: Zack Cerza <zack@cerza.org>
perl -ni -e 'print if(!(/^Package: .*-dbg$/../^$/))' ceph-$vers/debian/control
perl -pi -e 's/--dbg-package.*//' ceph-$vers/debian/rules
#
-# always set the debian version to 1 which is ok because the debian
-# directory is included in the sources and the upstream version will
-# change each time it is modified.
+# if no debian version is manually specified, set the debian version to 1 which
+# is ok because the debian directory is included in the sources and the upstream
+# version will change each time it is modified.
#
-dvers="$vers-1"
+dvers="$vers-1$3"
#
# update the changelog to match the desired version
#