File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -185,11 +185,24 @@ targetPath="./tmp/Element/${version}"
185185printf " \n================================================================================\n"
186186printf " Downloading the artifacts...\n"
187187
188- python3 ./tools/github/download_all_github_artifacts.py \
188+ ret=1
189+
190+ while [[ $ret -ne 0 ]]; do
191+ python3 ./tools/github/download_all_github_artifacts.py \
189192 --token " ${gitHubToken} " \
190193 --runUrl " ${runUrl} " \
191194 --directory " ${targetPath} "
192195
196+ ret=$?
197+ if [[ $ret -ne 0 ]]; then
198+ read -p " Error while downloading the artifacts. You may want to fix the issue and retry. Retry (yes/no) default to yes? " doRetry
199+ doRetry=${doRetry:- yes}
200+ if [ " ${doRetry} " == " no" ]; then
201+ exit 1
202+ fi
203+ fi
204+ done
205+
193206printf " \n================================================================================\n"
194207printf " Unzipping the F-Droid artifact...\n"
195208
You can’t perform that action at this time.
0 commit comments