From a2951867b3136a20f44d2ff4f49203f9b7ec482a Mon Sep 17 00:00:00 2001
From: Andrii Sosiuk <andrii.sosiuk@seco.com>
Date: Thu, 10 Oct 2024 11:37:39 +0200
Subject: [PATCH] YT-187: Update Confluence release page to feature UUU tools
 archive

      Currently, we distribute a variety of .sh and .bat scripts
      to aid in flashing devices using the UUU tool.
      To simplify the release page and enhance user-friendliness,
      all scripts have been bundled into a single archive.
      This commit updates the release page to represent the new archive,
      eliminating the display of individual UUU script files.
---
 confluence-page.xml.jinja2 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/confluence-page.xml.jinja2 b/confluence-page.xml.jinja2
index 014fac29..e6afe446 100644
--- a/confluence-page.xml.jinja2
+++ b/confluence-page.xml.jinja2
@@ -187,8 +187,10 @@
                 {%- set files = [] -%}
                 {%- for file in FILES_machine -%}
                 {%- if "uuu" in file.lower() -%}
-                {%- set _ = files.append(file) -%}
                 {%- set _ = used_files.append(file) -%}
+                {%- if file.lower().endswith(".tgz") or file.lower().endswith(".md5") -%}
+                {%- set _ = files.append(file) -%}
+                {%- endif -%}
                 {%- endif -%}
                 {%- endfor -%}
                 {%- if files -%}
-- 
GitLab