aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2021-10-22 13:30:32 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-10-28 13:57:54 -0700
commit532e293ac399d0d79fe9d59ced1da48fe4bca6fd (patch)
tree10642eb747c49c574474d0cea0be039d907db2d9
parent62d467f3fc024f6a43abca9c3a2b194b5d3829bf (diff)
downloaduhd-532e293ac399d0d79fe9d59ced1da48fe4bca6fd.tar.gz
uhd-532e293ac399d0d79fe9d59ced1da48fe4bca6fd.tar.bz2
uhd-532e293ac399d0d79fe9d59ced1da48fe4bca6fd.zip
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.
-rwxr-xr-xtools/debs/upload_debs.sh4
1 files changed, 2 insertions, 2 deletions
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
#