Update App_Header_Merge_update .app-headers_in_update-app-headers

This commit is contained in:
CanbiZ 2025-01-10 17:10:24 +01:00 committed by GitHub
parent 6981774662
commit 5855cff8e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,10 @@ jobs:
for script in ct/*.sh; do for script in ct/*.sh; do
if grep -q 'APP=' "$script"; then if grep -q 'APP=' "$script"; then
APP_NAME=$(grep -oP 'APP=\K\w+' "$script") APP_NAME=$(grep -oP 'APP=\K\w+' "$script")
figlet "$APP_NAME" >> ct/.app-headers 2>/dev/null if [ ! -z "$APP_NAME" ]; then
echo "Adding $APP_NAME to .app-headers"
figlet "$APP_NAME" >> ct/.app-headers 2>/dev/null || echo "figlet failed for $APP_NAME"
fi
fi fi
done done
env: env: