Skip to content

Commit

Permalink
Fix publishing CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Feb 28, 2019
1 parent ca5713e commit 7876d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/publish.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
set -eu

GRADLE_PUBLISH_KEY=$(aws ssm get-parameter --name '/buildkite/gradle-publish-key' --with-decryption | jq -r '.Parameter.Value')
GRADLE_PUBLISH_SECRET=$(aws 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 --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')

echo "gradle.publish.key=$GRADLE_PUBLISH_KEY" >> ~/.gradle/gradle.properties
echo "gradle.publish.secret=$GRADLE_PUBLISH_SECRET" >> ~/.gradle/gradle.properties
Expand Down

0 comments on commit 7876d32

Please sign in to comment.