use set -e in all bash scripts

This commit is contained in:
Felix Ableitner 2021-04-21 13:57:42 +02:00
parent 4114e4000b
commit 08b1c6b4d7
4 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
ignores="WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail"
base_url="http://192.168.50.60:1234"

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
new_tag="$1"

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
sudo docker build . --tag dessalines/lemmy-ui:dev
sudo docker push dessalines/lemmy-ui:dev

View File

@ -1,9 +1,11 @@
#!/bin/bash
pushd ../lemmy-translations || exit
set -e
pushd ../lemmy-translations
git fetch weblate
git merge weblate/main
git push
popd || exit
popd
# look for unused translations
for langfile in lemmy-translations/translations/*.json; do