mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-05 13:38:47 +02:00
Update weekly_stats.yaml
This commit is contained in:
4
.github/workflows/weekly_stats.yaml
vendored
4
.github/workflows/weekly_stats.yaml
vendored
@@ -56,8 +56,10 @@ jobs:
|
|||||||
# Create line if not existing
|
# Create line if not existing
|
||||||
if ! grep -q "$SLUG" Stats; then
|
if ! grep -q "$SLUG" Stats; then
|
||||||
sed -ie "\$a$SLUG" Stats
|
sed -ie "\$a$SLUG" Stats
|
||||||
|
# shellcheck disable=SC2046
|
||||||
for i in $(seq $(head -n 1 Stats | tr -cd ' \t' | wc -c )); do
|
for i in $(seq $(head -n 1 Stats | tr -cd ' \t' | wc -c )); do
|
||||||
sed -i "/$slug/s|^|- |" Stats
|
echo "$i"
|
||||||
|
sed -i "/$slug/s|^|- |" Stats
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
# Add data
|
# Add data
|
||||||
|
|||||||
Reference in New Issue
Block a user