We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43e8aca commit adb1a4bCopy full SHA for adb1a4b
bin/check-release-environment
@@ -1,20 +1,9 @@
1
#!/usr/bin/env bash
2
3
-warnings=()
4
errors=()
5
6
if [ -z "${PYPI_TOKEN}" ]; then
7
- warnings+=("The OPENLAYER_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
8
-fi
9
-
10
-lenWarnings=${#warnings[@]}
11
12
-if [[ lenWarnings -gt 0 ]]; then
13
- echo -e "Found the following warnings in the release environment:\n"
14
15
- for warning in "${warnings[@]}"; do
16
- echo -e "- $warning\n"
17
- done
+ errors+=("The OPENLAYER_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
18
fi
19
20
lenErrors=${#errors[@]}
0 commit comments