Deb: put debs under <os>_<os_ver> directories

This commit is contained in:
Dmitry Maksyoma 2021-01-19 23:02:49 +13:00
parent 35cf095a31
commit fbeed1da72

View File

@ -4,6 +4,11 @@ set -e
cd "$(dirname "$0")/.."
os=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
os_ver=$(lsb_release -rs)
os_dir="builder/build/${os}_${os_ver}"
dpkg-buildpackage -us -uc -b
cp ../*.deb builder/build
mkdir -p "$os_dir"
cp ../*.deb "$os_dir"
lintian ../*.deb