fdroid-repository/fdroid-update.sh

14 lines
233 B
Bash

#!/bin/bash
set -eo pipefail
EVENT=$1
DIR=$2
FILE=$3
if [ -z "$FILE" ] || [[ "$FILE" == *.apk ]]; then
fdroid update -c --rename-apks --clean --use-date-from-apk
fdroid update --rename-apks --clean --use-date-from-apk
fi