Update daily_README.yaml

This commit is contained in:
Alexandre
2022-12-02 06:01:27 +01:00
committed by GitHub
parent 01dd28af4e
commit 94d4e1a1bf

View File

@@ -86,7 +86,13 @@ jobs:
ARCH=amd64 && SLUG=$(jq -r '.image' "$f/config.json" | awk -F 'alexbelgium/|-{arch' '{print $2}') && \
DOWNLOADS="$(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 "$DOWNLOADS users"
echo "$DOWNLOADS amd64 users"
ARCH=armv7
DOWNLOADS="$(($DOWNLOADS + $(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 "$DOWNLOADS amd64 users"
ARCH=aarch64
DOWNLOADS="$(($DOWNLOADS + $(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 "$DOWNLOADS aarch64 users"
# Write infos
sed -i "$ADDONSLINE"'{G;}' README2.md