From 2d22f09e0fa480aef5696b068daa7f81555a37b0 Mon Sep 17 00:00:00 2001 From: Alexey Lapshin Date: Wed, 3 Jun 2026 17:55:54 +0700 Subject: [PATCH] feat(tools): skip non-related files for adding to tools.json --- tools/idf_tools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/idf_tools.py b/tools/idf_tools.py index fb541d22f77..d9bc9149288 100755 --- a/tools/idf_tools.py +++ b/tools/idf_tools.py @@ -3015,6 +3015,10 @@ def action_add_version(args: Any) -> None: ) updated_tools = [] for file_size, file_sha256, file_name in checksum_info: + skip_files = ['debug-sections', 'esp8266-multilib'] + if any(skip_file in file_name for skip_file in skip_files): + continue + xz_file = file_name.replace('.tar.gz', '.tar.xz') if xz_file in updated_tools: # .tar.xz archives are preferable, but .tar.gz is needed, for example, when using PlatformIO