Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsadetsky committed May 13, 2024
1 parent 13497ca commit ccdc9e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ if [[ `git status --porcelain` ]]; then
exit 1
fi

if [[ ! -v $AWS_ACCESS_KEY_ID ]]; then
if [ -z "${AWS_ACCESS_KEY_ID}" ]; then
# fail
echo "AWS_ACCESS_KEY_ID is not set Please set it before running this script"
exit 1
fi

if [[ ! -v $AWS_SECRET_ACCESS_KEY ]]; then
if [ -z "${AWS_SECRET_ACCESS_KEY}" ]; then
# fail
echo "AWS_SECRET_ACCESS_KEY is not set Please set it before running this script"
exit 1
Expand Down

0 comments on commit ccdc9e3

Please sign in to comment.