mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 11:59:11 +02:00
Update daily_README.yaml
This commit is contained in:
4
.github/workflows/daily_README.yaml
vendored
4
.github/workflows/daily_README.yaml
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
|
|
||||||
# Sort folders by addon name
|
# Sort folders by addon name
|
||||||
|
|
||||||
for f in $(dirname $(find -- */config.json -maxdepth 0 -type d | sort -r )); do
|
for f in $(dirname "$(find -- */config.json -maxdepth 0 -type d | sort -r )"); do
|
||||||
NAME=$(jq -r '.name' "$f"/config.json)
|
NAME=$(jq -r '.name' "$f"/config.json)
|
||||||
if [[ "$f" != "$NAME" ]]; then
|
if [[ "$f" != "$NAME" ]]; then
|
||||||
echo "$f" > "$f"/oldname
|
echo "$f" > "$f"/oldname
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Populate template
|
# Populate template
|
||||||
for f in $(dirname $(find -- */config.json -maxdepth 0 -type d | sort -r )); do
|
for f in $(dirname "$(find -- */config.json -maxdepth 0 -type d | sort -r )"); do
|
||||||
# $f is an addon directory
|
# $f is an addon directory
|
||||||
if [ -f "$f/config.json" ]; then
|
if [ -f "$f/config.json" ]; then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user