From e2fb68d666ae2df357f5a9fa68c2a3b6c8e286b6 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 7 Mar 2025 13:53:23 -0700 Subject: [PATCH] make-debs.sh: Optionally take debian version 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 --- make-debs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make-debs.sh b/make-debs.sh index 046cc5ec29d65..3c98369e5268d 100755 --- a/make-debs.sh +++ b/make-debs.sh @@ -49,11 +49,11 @@ cd $releasedir 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 # -- 2.39.5