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