Skip to content

Commit 9c8f5cb

Browse files
author
Alex Malgaroli
authored
Merge pull request #36 from CurrencyFair/fix_deploy
changed gpg check
2 parents 28a248e + 03e565a commit 9c8f5cb

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.travis/gpg.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cat >gen-key-script <<EOF
1111
Key-Type: RSA
1212
Key-Length: 4096
1313
Name-Real: CurrencyFair
14-
Name-Email: mateuszbajorek@currencyfair.com
14+
Name-Email: engineeringleads@currencyfair.com
1515
Expire-Date: 0y
1616
Passphrase: ${GPG_PASSPHRASE}
1717
%commit
@@ -45,10 +45,5 @@ while(true); do
4545
date
4646
GNUPGHOME=./gpgtest gpg --keyserver keyserver.ubuntu.com --recv-keys ${GPG_KEYNAME} && break || sleep 30
4747
done
48-
if [[-f ./gpgtest/pubring.gpg]]
49-
echo "Key ${GPG_KEYNAME} uploaded to keyserver.ubuntu.com"
50-
else
51-
echo "Could not retrieve key ${GPG_KEYNAME} from keyserver.ubuntu.com"
52-
exit -1
53-
fi
48+
echo "Key ${GPG_KEYNAME} uploaded to keyserver.ubuntu.com"
5449
rm -rf ./gpgtest

0 commit comments

Comments
 (0)