]> Untitled Git - lemmy-ui.git/commitdiff
use set -e in all bash scripts
authorFelix Ableitner <me@nutomic.com>
Wed, 21 Apr 2021 11:57:42 +0000 (13:57 +0200)
committerFelix Ableitner <me@nutomic.com>
Wed, 21 Apr 2021 11:57:42 +0000 (13:57 +0200)
accessibility_tests.sh
deploy.sh
test_deploy.sh
update_translations.sh

index 0161e6d593959482358a7401210c6d6670b61949..7bf0c8fadb1bd4441cd32cef3026d567db4485ee 100755 (executable)
@@ -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"
index 58d1d7fb9c796b19f9bd7bc9dddc2c0112e1977e..57aa818910e8926686a893bae53cafc675a677b0 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,4 +1,5 @@
 #!/bin/bash
+set -e
 
 new_tag="$1"
 
index 7cf2e3cad48353218cc82e33779be209d01ce272..db2aed0126caa45ca07924cb842185357daf128d 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
+set -e
 
 sudo docker build . --tag dessalines/lemmy-ui:dev
 sudo docker push dessalines/lemmy-ui:dev
index c5cc1b4e55dada5323f474c4e732c90a3a54c7a8..677eee96a7c95ccdcb9b18ff4967215bb0c74042 100755 (executable)
@@ -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