scripts: check for the correct env vars in dist.sh

we need AWS keys now, not bintray keys
This commit is contained in:
Paul Hinze 2015-11-18 17:16:03 -06:00
parent a211fc3469
commit 203a565161
1 changed files with 2 additions and 2 deletions

View File

@ -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