From 90643491678528c6bf8019999e41f2926c1c503c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Piku=C5=82a?= Date: Thu, 14 Mar 2024 16:11:35 +0100 Subject: [PATCH] CI: Fix naming of platform images 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 --- mk_delta/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mk_delta/action.yml b/mk_delta/action.yml index 4d490bb..f4664c1 100644 --- a/mk_delta/action.yml +++ b/mk_delta/action.yml @@ -230,6 +230,7 @@ runs: 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/') -- 2.7.4