Build: fixed signing script issue with circle-ci (#19397)

This commit is contained in:
Torkel Ödegaard 2019-09-25 11:43:10 +02:00 committed by GitHub
parent 3bd04d63c4
commit 680a22b898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -3,4 +3,3 @@
set -e set -e
git clone git@github.com:torkelo/private.git ~/private-repo git clone git@github.com:torkelo/private.git ~/private-repo
cp ~/private-repo/signing/private.key /private.key

View File

@ -14,7 +14,7 @@ if [ -z "$GPG_KEY_PASSWORD" ]; then
exit 1 exit 1
fi 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 cp ./scripts/build/rpmmacros ~/.rpmmacros

View File

@ -2,5 +2,5 @@
set -e set -e
gpg --batch --allow-secret-key-import --import /private.key gpg --batch --allow-secret-key-import --import ~/private-repo/signing/private.key
pkill gpg-agent pkill gpg-agent