diff options
author | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-10-22 13:30:32 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-10-28 13:57:54 -0700 |
commit | 532e293ac399d0d79fe9d59ced1da48fe4bca6fd (patch) | |
tree | 10642eb747c49c574474d0cea0be039d907db2d9 /tools/debs/upload_debs.sh | |
parent | 62d467f3fc024f6a43abca9c3a2b194b5d3829bf (diff) | |
download | uhd-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.
Diffstat (limited to 'tools/debs/upload_debs.sh')
-rwxr-xr-x | tools/debs/upload_debs.sh | 4 |
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 # |