File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 2323
2424set -euo pipefail
2525
26- if grep -sq " signing.keyId" gradle.properties; then
27- # Keys already present
28- exit 0
29- fi
30-
31- mkdir -p /tmp/secured
32-
3326export TMP_WORKSPACE=/tmp/secured
3427export KEY_FILE=$TMP_WORKSPACE " /private.key"
3528
29+ # Secure home for our keyring
30+ export GNUPGHOME=$TMP_WORKSPACE " /keyring"
31+ mkdir -p $GNUPGHOME
32+ chmod -R 700 $TMP_WORKSPACE
33+
3634# Signing keys
3735GPG_SECRET=kv/ci-shared/release-eng/team-release-secrets/elasticsearch-java/gpg
3836vault kv get --field=" keyring" $GPG_SECRET | base64 -d > $KEY_FILE
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ repositories {
3030 mavenCentral()
3131}
3232
33- group = " co.elastic.clients.test "
33+ group = " co.elastic.clients"
3434version = " 9.1.0-test-10-03-2025"
3535description = " Maven central publish test for elasticsearch java client"
3636
You can’t perform that action at this time.
0 commit comments