Skip to content

Commit

Permalink
chore(internal): refactor release environment script (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Feb 15, 2024
1 parent 2bb25a1 commit a87443a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/check-release-environment
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a87443a

Please sign in to comment.