From 4f82673a61645a5148e6d63c021fa399c05cb8f1 Mon Sep 17 00:00:00 2001 From: afdesk Date: Sun, 28 Nov 2021 13:43:07 +0600 Subject: [PATCH] chore(release): add ubuntu older versions to deploy script (#1416) * chore(release): add ubuntu older versions to deploy script `ubuntu-distro-info --supported` returns only versions: `bionic`, `focal`, `hirsute`, `impish` and `jammy`. `ubuntu-distro-info --supported-esm` returns another versions: `trusty`, `xenial`, `bionic`, `focal` and `jammy`. for the release script we should use the union of these sets. Fixes #1194 * change `uniq` command to `-u` parameter --- ci/deploy-deb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/deploy-deb.sh b/ci/deploy-deb.sh index 996e0ad4ca..d0a6bc25ef 100755 --- a/ci/deploy-deb.sh +++ b/ci/deploy-deb.sh @@ -1,7 +1,7 @@ #!/bin/bash DEBIAN_RELEASES=$(debian-distro-info --supported) -UBUNTU_RELEASES=$(ubuntu-distro-info --supported-esm) +UBUNTU_RELEASES=$(sort -u <(ubuntu-distro-info --supported-esm) <(ubuntu-distro-info --supported)) cd trivy-repo/deb