#!/bin/sh

export ANDROID_HOME=/home/bic/workspace/android/Sdk

if [ "$1" = "-d" ]; then
	while IFS= read -r line
	do
		echo "$line"
		gplaycli -d "$line" -f repo
	done < applist
fi

fdroid update --create-metadata --use-date-from-apk --pretty --clean --verbose
fdroid deploy


