File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ if [ $action = push ]; then
118
118
tx pull -s -l none
119
119
if ! [ -f " i18n/qgis_en.ts" ]; then
120
120
echo Download of source translation failed
121
- exit
121
+ exit 1
122
122
fi
123
123
elif [ $action = pull ]; then
124
124
rm i18n/qgis_* .ts
@@ -176,7 +176,16 @@ perl -i.bak -ne 'print unless /^\s+<location.*qgs(expression|contexthelp)_texts\
176
176
177
177
if [ $action = push ]; then
178
178
echo Pushing translation...
179
- tx push -s
179
+ fail=1
180
+ for i in $( seq 10) ; do
181
+ tx push -s && fail=0 && break
182
+ echo Retrying...
183
+ sleep 10
184
+ done
185
+ if (( fail )) ; then
186
+ echo " Could not push translations"
187
+ exit 1
188
+ fi
180
189
else
181
190
echo Updating TRANSLATORS File
182
191
./scripts/tsstat.pl > doc/TRANSLATORS
You can’t perform that action at this time.
0 commit comments