mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 09:28:20 +01:00
Update daily_README.yaml
This commit is contained in:
4
.github/workflows/daily_README.yaml
vendored
4
.github/workflows/daily_README.yaml
vendored
@@ -24,7 +24,7 @@ jobs:
|
||||
sed -i "/**ADDONS_LIST%%/d" README2.md
|
||||
|
||||
# Sort folders by addon name
|
||||
for f in "$( find -- * -type d | sort -r )"; do
|
||||
for f in $( find -- * -maxdepth 0 -type d | sort -r ); do
|
||||
if [ -f "$f"/config.json ]; then
|
||||
NAME=$(jq -r '.name' "$f"/config.json)
|
||||
if [[ "$f" != "$NAME" ]]; then
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
done
|
||||
|
||||
# Populate template
|
||||
for f in "$( find -- * -type d | sort -r )"; do
|
||||
for f in $( find -- * -maxdepth 0 -type d | sort -r ); do
|
||||
# $f is an addon directory
|
||||
if [ -f "$f/config.json" ]; then
|
||||
echo "Project $f"
|
||||
|
||||
Reference in New Issue
Block a user