diff --git a/bin/check-release-environment b/bin/check-release-environment index 09bb61e7..62ddc47a 100644 --- a/bin/check-release-environment +++ b/bin/check-release-environment @@ -10,9 +10,9 @@ if [ -z "${PYPI_TOKEN}" ]; then errors+=("The ANTHROPIC_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.") fi -len=${#errors[@]} +lenErrors=${#errors[@]} -if [[ len -gt 0 ]]; then +if [[ lenErrors -gt 0 ]]; then echo -e "Found the following errors in the release environment:\n" for error in "${errors[@]}"; do