diff --git a/.buildkite/publish.sh b/.buildkite/publish.sh index ce04e42..f175b98 100755 --- a/.buildkite/publish.sh +++ b/.buildkite/publish.sh @@ -1,8 +1,8 @@ #!/bin/sh set -eu -GRADLE_PUBLISH_KEY=$(aws --region us-east-1 ssm get-parameter --name '/buildkite/gradle-publish-key' --with-decryption | jq -r '.Parameter.Value') -GRADLE_PUBLISH_SECRET=$(aws --region us-east-1 ssm get-parameter --name '/buildkite/gradle-publish-secret' --with-decryption | jq -r '.Parameter.Value') +GRADLE_PUBLISH_KEY=$(aws --region us-east-1 ssm get-parameter --with-decryption --name '/buildkite/gradle-publish-key' --output text --query Parameter.Value) +GRADLE_PUBLISH_SECRET=$(aws --region us-east-1 ssm get-parameter --with-decryption --name '/buildkite/gradle-publish-secret' --output text --query Parameter.Value) echo "gradle.publish.key=$GRADLE_PUBLISH_KEY" >> ~/.gradle/gradle.properties echo "gradle.publish.secret=$GRADLE_PUBLISH_SECRET" >> ~/.gradle/gradle.properties