Skip to content
Snippets Groups Projects
Unverified Commit 660d2a60 authored by mueller-ma's avatar mueller-ma Committed by GitHub
Browse files

Retry download of changelog (#1054)

parent a29ecded
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,20 @@ else
python3 assets/store_descriptions/generate_and_validate.py fdroid
fi
curl https://api.github.com/repos/openhab/openhab-android/releases | jq -r '.[0].body' > fastlane/metadata/android/en-US/changelogs/${currentVersionCode}.txt
set +e
retryCount=0
until curl https://api.github.com/repos/openhab/openhab-android/releases | jq -r '.[0].body' > fastlane/metadata/android/en-US/changelogs/${currentVersionCode}.txt
do
let retryCount++
if [ "$retryCount" -gt 20 ]
then
exit 1
fi
echo "Download failed. Retry"
sleep 5
done
set -e
git config --local user.name "openhab-bot"
git config --local user.email "bot@openhab.org"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment