Merge pull request #3973 from hashicorp/phinze/tweak-dist

scripts: check for the correct env vars in dist.sh
This commit is contained in:
Paul Hinze 2015-11-19 11:03:38 -06:00
commit bd8863c994
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ if [ -z $VERSION ]; then
fi fi
# Make sure we have a bintray API key # Make sure we have a bintray API key
if [ -z $BINTRAY_API_KEY ]; then if [[ -z $AWS_ACCESS_KEY_ID || -z $AWS_SECRET_ACCESS_KEY ]]; then
echo "Please set your bintray API key in the BINTRAY_API_KEY env var." echo "Please set AWS access keys as env vars before running this script."
exit 1 exit 1
fi fi