Skip to content

Commit

Permalink
apk upload to fdroid need change for new cgeo-contact addon (fix #1)
Browse files Browse the repository at this point in the history
fixes #1
  • Loading branch information
bekuno authored Nov 22, 2019
1 parent add387b commit 26fd4a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/fdroid-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ function drop_duplicate_versioncode {
if [[ $1 == "mainline" ]]; then
$verbose && echo "I: Finding download links"
apk=$(curl -s https://api.github.com/repos/cgeo/cgeo/releases/latest | grep 'browser_' | cut -d\" -f4)
download_apk "cgeo-release" "$apk" "mainline"
download_apk "cgeo-contacts" "https://github.com/cgeo/cgeo/releases/download/market_20150112/cgeo-contacts_v1.5.apk" "mainline"
release=$(echo $apk|grep 'https\S*cgeo-release-\S*apk' -o)
contacts=$(echo $apk|grep 'https\S*cgeo-contacts-\S*apk' -o)
download_apk "cgeo-release" "$release" "mainline"
download_apk "cgeo-contacts" "$contacts" "mainline"
update_indexes "mainline"
fi

Expand All @@ -108,4 +110,3 @@ if [[ $1 == "nightly" ]]; then
done
update_indexes "nightly"
fi

0 comments on commit 26fd4a4

Please sign in to comment.