feat(ci): Fail if any command exits with != 0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
PapaTutuWawa 2023-10-07 19:01:40 +02:00
parent ed36e93fbb
commit 2a7308147a

View File

@ -2,6 +2,9 @@
# Checks all fastlane metadata files for their maximum lengths. # Checks all fastlane metadata files for their maximum lengths.
# Maximum lengths based on https://gitlab.com/-/snippets/1895688. # Maximum lengths based on https://gitlab.com/-/snippets/1895688.
# Every error should fail
set -e
# Check changelogs (ignoring the ones we know already exceed the limit). # Check changelogs (ignoring the ones we know already exceed the limit).
for locale in ./fastlane/metadata/android/*; do for locale in ./fastlane/metadata/android/*; do
[[ ! -d $locale ]] && echo "Skipping $locale" && continue [[ ! -d $locale ]] && echo "Skipping $locale" && continue