From 203a5651614ee9af4d8900ee67d530ab1bf025e2 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Wed, 18 Nov 2015 17:16:03 -0600 Subject: [PATCH] scripts: check for the correct env vars in dist.sh we need AWS keys now, not bintray keys --- scripts/dist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dist.sh b/scripts/dist.sh index 1488d1b71..a9b57cd87 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -9,8 +9,8 @@ if [ -z $VERSION ]; then fi # Make sure we have a bintray API key -if [ -z $BINTRAY_API_KEY ]; then - echo "Please set your bintray API key in the BINTRAY_API_KEY env var." +if [[ -z $AWS_ACCESS_KEY_ID || -z $AWS_SECRET_ACCESS_KEY ]]; then + echo "Please set AWS access keys as env vars before running this script." exit 1 fi