Platform images (i.e., without boot image) don't provide information
about target. Up to this point, the image name for platform images was
lacking the target information, resulting in missing device model field
in the name (e.g., `IoT_Headless----platform--aarch64--...`). This
change sets the default `none` value for device model (resulting in
`IoT_Headless--none--platform--aarch64--...`).
Change-Id: Ie50624095a098bf34d7e1adc6364d7a000a79cd3
source images/result/*/FW_DELTA/DELTA/update-info.ini
set +x
tz_build_release_name=${tz_build_release_name//\//_}
+ model_name=${model_name:-none}
OLD_RELEASE_VERSION=$(ls images/old/*tar.gz | head -n 1 | sed 's/.*\([0-9]\{8\}\.[0-9]\{6\}\).*/\1/')
NEW_RELEASE_VERSION=$(ls images/new/*tar.gz | head -n 1 | sed 's/.*\([0-9]\{8\}\.[0-9]\{6\}\).*/\1/')