ci: Do not rely on S3_BUCKET_URL being terminated by a slash
PATCH 1/1 ci: Do not rely on S3_BUCKET_URL being terminated by a slash
From: Jan Kiszka <[email protected]>
Duplicate slashes cause no harm, but a missing can lead to confusing errors.
Signed-off-by Jan Kiszka <[email protected]>
---
Inserted before "ci: Add default for S3_BUCKET_URL" which didn't add a slash, thus triggered this issue.
scripts/deploy_to_aws.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/deploy_to_aws.sh +1 -1
@@ -28,7 +28,7 @@ destination="${S3_BUCKET_URL}" aws_args="--acl=public-read" isar_base_name="${ISAR_IMAGE}-${ISAR_DISTRIBUTION}-${target}" -deploy_dir="${destination}${CI_PIPELINE_ID}/${DEPLOY_DIR_EXTENSION}" +deploy_dir="${destination}/${CI_PIPELINE_ID}/${DEPLOY_DIR_EXTENSION}" #KERNEL aws s3 cp "${aws_args}" "${images_dir}/${target}/${isar_base_name}-vmlinuz" "${deploy_dir}/${isar_base_name}-vmlinuz" # INITRD
Signature · 1 line
2.31.1