Merge pull request #3973 from hashicorp/phinze/tweak-dist
scripts: check for the correct env vars in dist.sh
This commit is contained in:
commit
bd8863c994
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue