Update daily_README.yaml

This commit is contained in:
Alexandre
2022-12-02 13:46:23 +01:00
committed by GitHub
parent f8415243ac
commit 4bf2ded8fd

View File

@@ -90,12 +90,12 @@ jobs:
echo "$DOWNLOADS amd64 users"
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}')" && \
echo "$COUNT armv7 users with $SLUG"
DOWNLOADS=$(( $DOWNLOADS + $COUNT))
echo "$DOWNLOADS armv7 users with $SLUG"
ARCH=aarch64
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 aarch64 users"
DOWNLOADS=$(( $DOWNLOADS + $COUNT))
echo "$DOWNLOADS aarch64 users"
# Write infos
sed -i "$ADDONSLINE"'{G;}' README2.md