From 2f3d9c1e247e57dfca29905b6471f7a88f2b8721 Mon Sep 17 00:00:00 2001
From: Lorenzo Pagliai <lorenzo.pagliai@seco.com>
Date: Thu, 16 May 2024 12:01:14 +0200
Subject: [PATCH] [RELEASE] Fix on the software artifact name

* This commit removee the read-only SAS token from the name of the artifact
---
 build-pipeline.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-pipeline.yml b/build-pipeline.yml
index 3c0f5a2..f8f804f 100644
--- a/build-pipeline.yml
+++ b/build-pipeline.yml
@@ -294,7 +294,7 @@ workflow:
              # Reading each line
              if [[ ${line} == *https* ]]; then
                url=$line
-               name=$(echo ${line} | sed 's/^.*seco_/seco_/')
+               name=$(echo ${line} | sed 's/^.*seco_/seco_/' | sed 's/?.*$//')
                command=${command}'{"name": "'${name}'", "url":"'${url}'"}, '
              fi
        done < Link_report.txt
-- 
GitLab