Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Mar 26, 2024
1 parent 3f292b7 commit 70b23eb
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions bin/check-release-environment
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
#!/usr/bin/env bash

warnings=()
errors=()

if [ -z "${NPM_TOKEN}" ]; then
warnings+=("The RETELL_NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi

lenWarnings=${#warnings[@]}

if [[ lenWarnings -gt 0 ]]; then
echo -e "Found the following warnings in the release environment:\n"

for warning in "${warnings[@]}"; do
echo -e "- $warning\n"
done
errors+=("The RETELL_NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi

lenErrors=${#errors[@]}
Expand Down

0 comments on commit 70b23eb

Please sign in to comment.