diff --git a/accessibility_tests.sh b/accessibility_tests.sh index 0161e6d5..7bf0c8fa 100755 --- a/accessibility_tests.sh +++ b/accessibility_tests.sh @@ -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" diff --git a/deploy.sh b/deploy.sh index 58d1d7fb..57aa8189 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e new_tag="$1" diff --git a/test_deploy.sh b/test_deploy.sh index 7cf2e3ca..db2aed01 100755 --- a/test_deploy.sh +++ b/test_deploy.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e sudo docker build . --tag dessalines/lemmy-ui:dev sudo docker push dessalines/lemmy-ui:dev diff --git a/update_translations.sh b/update_translations.sh index c5cc1b4e..677eee96 100755 --- a/update_translations.sh +++ b/update_translations.sh @@ -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