mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 04:11:12 +00:00
use set -e in all bash scripts
This commit is contained in:
parent
4114e4000b
commit
08b1c6b4d7
4 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
ignores="WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail"
|
ignores="WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail"
|
||||||
base_url="http://192.168.50.60:1234"
|
base_url="http://192.168.50.60:1234"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
new_tag="$1"
|
new_tag="$1"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
sudo docker build . --tag dessalines/lemmy-ui:dev
|
sudo docker build . --tag dessalines/lemmy-ui:dev
|
||||||
sudo docker push dessalines/lemmy-ui:dev
|
sudo docker push dessalines/lemmy-ui:dev
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd ../lemmy-translations || exit
|
set -e
|
||||||
|
|
||||||
|
pushd ../lemmy-translations
|
||||||
git fetch weblate
|
git fetch weblate
|
||||||
git merge weblate/main
|
git merge weblate/main
|
||||||
git push
|
git push
|
||||||
popd || exit
|
popd
|
||||||
|
|
||||||
# look for unused translations
|
# look for unused translations
|
||||||
for langfile in lemmy-translations/translations/*.json; do
|
for langfile in lemmy-translations/translations/*.json; do
|
||||||
|
|
Loading…
Reference in a new issue