From 9231fe3c1f93db8a842c4798590474fe6e2d8d96 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Thu, 16 Jun 2022 12:43:50 +0200 Subject: [PATCH] chore(ci): improved rpm command to check for SHA256 sign. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Federico Di Pierro Co-authored-by: Vicente J. Jiménez Miras --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 26b60baf..f5a9be09 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -233,13 +233,13 @@ jobs: command: | cd /build/release/ ~/sign *.rpm - test "$(rpm -qpi *.rpm | awk '/Signature/' | grep -i none | wc -l)" -eq 0 + rpm --qf %{SIGPGP:pgpsig} -qp *.rpm | grep SHA256 - run: name: Sign rpm arm64 command: | cd /build-arm64/release/ ~/sign *.rpm - test "$(rpm -qpi *.rpm | awk '/Signature/' | grep -i none | wc -l)" -eq 0 + rpm --qf %{SIGPGP:pgpsig} -qp *.rpm | grep SHA256 - persist_to_workspace: root: / paths: