[isar-cip-core][RFC v2 4/4] scripts/deploy-cip-core: Adapt to new image names


Quirin Gylstorff
 

From: Quirin Gylstorff <quirin.gylstorff@...>

The identifier img was delete from the image name.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@...>
---
scripts/deploy-cip-core.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/deploy-cip-core.sh b/scripts/deploy-cip-core.sh
index cf8f45d..203ab1d 100755
--- a/scripts/deploy-cip-core.sh
+++ b/scripts/deploy-cip-core.sh
@@ -28,12 +28,12 @@ fi
BASE_PATH=build/tmp/deploy/images/$TARGET/$BASE_FILENAME
S3_TARGET=s3://download2.cip-project.org/cip-core/$REF/$TARGET/

-if [ -f $BASE_PATH.wic.img ] ; then
- echo "Compressing $BASE_FILENAME.wic.img..."
- xz -9 -k $BASE_PATH.wic.img
+if [ -f $BASE_PATH.wic ] ; then
+ echo "Compressing $BASE_FILENAME.wic..."
+ xz -9 -k $BASE_PATH.wic

echo "Uploading artifacts..."
- aws s3 cp --no-progress --acl public-read $BASE_PATH.wic.img.xz ${S3_TARGET}
+ aws s3 cp --no-progress --acl public-read $BASE_PATH.wic.xz ${S3_TARGET}
fi

if [ -f $BASE_PATH.tar.gz ]; then
--
2.35.1

Join cip-dev@lists.cip-project.org to automatically receive all group messages.