From 51993e2bc7ab1424216eab709cc7149d9396ed4f Mon Sep 17 00:00:00 2001 From: Ondrej Ezr Date: Thu, 19 Dec 2024 16:00:51 +0100 Subject: [PATCH] fix: syntax error in AWS url --- konflux_scripts/upload-to-s3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/konflux_scripts/upload-to-s3.sh b/konflux_scripts/upload-to-s3.sh index cbc9fe87..09228cab 100755 --- a/konflux_scripts/upload-to-s3.sh +++ b/konflux_scripts/upload-to-s3.sh @@ -9,7 +9,7 @@ main() { local bucket="${BUCKET:-rh-artifacts-bucket}" - aws s3 cp --recursive /artifacts "s3://${bucket}/$(artifacts_key)" --quiet + aws s3 cp --recursive /artifacts "s3://${bucket}/${artifacts_key}" --quiet url="https://s3.console.aws.amazon.com/s3/buckets/${bucket}?region=${aws_default_region}&prefix=${artifacts_key}/&showversions=false" echo -n ${url//'\n'}