From 680a22b8981bc7f1cb7643458e27ef3d67f93386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 25 Sep 2019 11:43:10 +0200 Subject: [PATCH] Build: fixed signing script issue with circle-ci (#19397) --- scripts/build/prepare_signing_key.sh | 1 - scripts/build/sign_packages.sh | 2 +- scripts/build/update_repo/load-signing-key.sh | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/build/prepare_signing_key.sh b/scripts/build/prepare_signing_key.sh index 5b16620f753..a98cc7f1d33 100755 --- a/scripts/build/prepare_signing_key.sh +++ b/scripts/build/prepare_signing_key.sh @@ -3,4 +3,3 @@ set -e git clone git@github.com:torkelo/private.git ~/private-repo -cp ~/private-repo/signing/private.key /private.key diff --git a/scripts/build/sign_packages.sh b/scripts/build/sign_packages.sh index 86eca561092..a3272e197f6 100755 --- a/scripts/build/sign_packages.sh +++ b/scripts/build/sign_packages.sh @@ -14,7 +14,7 @@ if [ -z "$GPG_KEY_PASSWORD" ]; then exit 1 fi -gpg --allow-secret-key-import --import /private.key +gpg --allow-secret-key-import --import ~/private-repo/signing/private.key cp ./scripts/build/rpmmacros ~/.rpmmacros diff --git a/scripts/build/update_repo/load-signing-key.sh b/scripts/build/update_repo/load-signing-key.sh index 2ac456429da..a925354804a 100755 --- a/scripts/build/update_repo/load-signing-key.sh +++ b/scripts/build/update_repo/load-signing-key.sh @@ -2,5 +2,5 @@ set -e -gpg --batch --allow-secret-key-import --import /private.key -pkill gpg-agent \ No newline at end of file +gpg --batch --allow-secret-key-import --import ~/private-repo/signing/private.key +pkill gpg-agent