diff --git a/gen_zenoh_deb.sh b/gen_zenoh_deb.sh index 7ca448e8c7..01db379b52 100755 --- a/gen_zenoh_deb.sh +++ b/gen_zenoh_deb.sh @@ -21,7 +21,9 @@ if [ -z "$1" -o -z "$2" ]; then exit 1 fi -VERSION=`echo $1` +# NOTE: cargo-deb v2.0.0 and later will add a "-1" suffix to the version for +# compliance with Debian's packaging standard. +VERSION="$1-1" ARCH=$2 PACKAGE_NAME="zenoh_${VERSION}_${ARCH}"