2018-11-09 09:29:18 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-11-10 11:34:16 +01:00
|
|
|
set -eo pipefail
|
|
|
|
|
|
|
|
EVENT=$1
|
|
|
|
DIR=$2
|
|
|
|
FILE=$3
|
|
|
|
|
2018-11-19 21:43:09 +01:00
|
|
|
if [ -z "$FILE" ] || [[ "$FILE" == *.apk ]] || [[ "$FILE" == *.yml ]]; then
|
2024-04-29 19:13:08 +02:00
|
|
|
. /fdroid/bin/activate && fdroid update --clean --rename-apks --use-date-from-apk --delete-unknown
|
|
|
|
. /fdroid/bin/activate && fdroid deploy
|
2018-11-10 11:34:16 +01:00
|
|
|
fi
|
|
|
|
|