CI images list making bugfix (#4356)

Support for minimal images was broken
This commit is contained in:
Igor Pečovnik 2022-10-27 18:52:09 +02:00 committed by GitHub
parent 58ed41d385
commit b02d81b32b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,7 +446,7 @@ jobs:
out_release=$(echo $name | cut -d"_" -f4)
out_branch=$(echo $name | cut -d"_" -f5)
out_kernel=$(echo $name | cut -d"_" -f6-7 | cut -d"." -f1-3 | cut -d"_" -f1)
out_desktop=$(echo $name | cut -d"_" -f7)
out_desktop=$(echo $name | cut -d"_" -f7- | cut -d"." -f1 | cut -d"_" -f1)
out_desktop=${out_desktop:-cli}
out_size=$(echo "scale=2; $size/1024/1024" | bc -l)" Mb"
echo -ne "| [$BOARD_NAME]($url) | [:file_folder:]($url".asc") | [:file_folder:]($url".sha") | $out_release | $out_branch | $out_desktop | $out_size | $out_kernel |\n" >> README.tmp