CI: bail out when Transifex script fails

This commit is contained in:
Adriaan de Groot 2023-03-21 12:42:33 +01:00
parent 6a236f7695
commit 3ceee01713
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ done
# .tx/config file to locate files, and overwrites them in the
# filesystem with new (merged) translations.
export QT_SELECT=5
tx pull --force --source --all
tx pull --force --source --all || exit 1
### CLEANUP TRANSLATIONS

View File

@ -108,8 +108,8 @@ if test -n "$XMLLINT" ; then
$XMLLINT --c14n11 "$TS_FILE" | { echo "<!DOCTYPE TS>" ; cat - ; } | $XMLLINT --format --encode utf-8 -o "$TS_FILE".new - && mv "$TS_FILE".new "$TS_FILE"
fi
tx push --source --no-interactive -r calamares.calamares
tx push --source --no-interactive -r calamares.fdo
tx push --source --no-interactive -r calamares.calamares || exit 1
tx push --source --no-interactive -r calamares.fdo || exit 1
### PYTHON MODULES