Update daily_README.yaml

This commit is contained in:
Alexandre
2022-12-02 20:04:56 +01:00
committed by GitHub
parent 1e887d34c7
commit 0388fbf8b3

View File

@@ -107,7 +107,9 @@ jobs:
if [[ $(jq '.arch[]' "$f/config.json") == *"armv7"* ]]; then
sed -i "$ADDONSLINE"'a ![armv7][armv7-badge]' README2.md
echo "6"
ARCH=armv7 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')"
ARCH=armv7
echo "$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')"
COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')"
echo "$COUNT armv7 users with $SLUG"
echo "5"
DOWNLOADS="$(( DOWNLOADS + COUNT))"