Skip to content

Commit 3d944aa

Browse files
committed
ci(gradle): add sigining key
1 parent 864423f commit 3d944aa

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ package-lock.json
3535
*.test-metadata.txt
3636
*.py
3737
fix-copyrights.sh
38+
/.utility/secring.gpg

.utility/deploy-travis-wrapper.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/bash
22
set -o pipefail
33

4-
./gradlew uploadArchives &
4+
openssl aes-256-cbc -K $encrypted_99a33d910092_key -iv $encrypted_99a33d910092_iv -in .utility/secring.gpg.enc -out .utility/secring.gpg -d
5+
./gradlew uploadArchives -Psigning.keyId=$SIGNING_KEY -Psigning.password=$SIGNING_PASSWORD -Psigning.secretKeyRingFile=./scripts/secring.gpg &
56

67
# output every 9 min to prevent a Travis timeout
78
PID=$!

.utility/secring.gpg.enc

96 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)