From 928380c8ff7dce01229d200a6aa4f36b976af72f Mon Sep 17 00:00:00 2001 From: "Vicente JJ. Miras" Date: Fri, 17 Jun 2022 18:49:24 +0200 Subject: [PATCH] fix(ci): creates ~/sign instead of ./sign MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Vicente J. Jiménez Miras --- .circleci/config.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f5a9be09635..2dda41f87a6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -221,12 +221,14 @@ jobs: echo "%_signature gpg" > ~/.rpmmacros echo "%_gpg_name Falcosecurity Package Signing" >> ~/.rpmmacros echo "%__gpg_sign_cmd %{__gpg} --force-v3-sigs --batch --no-armor --passphrase-fd 3 --no-secmem-warning -u \"%{_gpg_name}\" -sb --digest-algo sha256 %{__plaintext_filename}'" >> ~/.rpmmacros - echo '#!/usr/bin/expect -f' > sign - echo 'spawn rpmsign --addsign {*}$argv' >> sign - echo 'expect -exact "Enter pass phrase: "' >> sign - echo 'send -- "\n"' >> sign - echo 'expect eof' >> sign - chmod +x sign + cat > ~/sign \\<