From 532e293ac399d0d79fe9d59ced1da48fe4bca6fd Mon Sep 17 00:00:00 2001 From: Aaron Rossetto Date: Fri, 22 Oct 2021 13:30:32 -0500 Subject: debs: Update upload_debs script This commit updates the releases for which we want to upload UHD support, as well as the way the version number is parsed from the Debian changelog file. --- tools/debs/upload_debs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/debs/upload_debs.sh b/tools/debs/upload_debs.sh index b82d9fcc5..e881d0ee5 100755 --- a/tools/debs/upload_debs.sh +++ b/tools/debs/upload_debs.sh @@ -38,14 +38,14 @@ fi UHD_TOP_LEVEL=$PWD # Get version info -VERSION=`head -1 host/cmake/debian/changelog | grep -o '[0-9.]*' | head -1` +VERSION=`head -1 host/cmake/debian/changelog | sed 's/.*(\(.*\)-0ubuntu.*/\1/'` ORIG_RELEASE=`head -1 host/cmake/debian/changelog | sed 's/.*) \(.*\);.*/\1/'` # # Currently supported versions can be found here: # https://launchpad.net/ubuntu/+ppas # -RELEASES="xenial bionic cosmic focal" +RELEASES="bionic focal hirsute" PPA=ppa:ettusresearch/uhd # -- cgit v1.2.3