mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +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
@@ -24,7 +24,7 @@ jobs:
|
|||||||
sed -i "/**ADDONS_LIST%%/d" README2.md
|
sed -i "/**ADDONS_LIST%%/d" README2.md
|
||||||
|
|
||||||
# Sort folders by addon name
|
# 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
|
if [ -f "$f"/config.json ]; then
|
||||||
NAME=$(jq -r '.name' "$f"/config.json)
|
NAME=$(jq -r '.name' "$f"/config.json)
|
||||||
if [[ "$f" != "$NAME" ]]; then
|
if [[ "$f" != "$NAME" ]]; then
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Populate template
|
# 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
|
# $f is an addon directory
|
||||||
if [ -f "$f/config.json" ]; then
|
if [ -f "$f/config.json" ]; then
|
||||||
echo "Project $f"
|
echo "Project $f"
|
||||||
|
|||||||
Reference in New Issue
Block a user