From 348eca50806303cae01d7a3c1094931eb3fd7101 Mon Sep 17 00:00:00 2001 From: dzaitsev Date: Sun, 4 May 2025 13:31:50 +0300 Subject: [PATCH] zip update --- build/jenkins/zip | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/jenkins/zip b/build/jenkins/zip index d4180f0..7cfb170 100644 --- a/build/jenkins/zip +++ b/build/jenkins/zip @@ -72,9 +72,10 @@ pipeline { echo DEBUG: Found file: "%%F" rem Add the quoted full path to FOUND_FILES set "FOUND_FILES=!FOUND_FILES! "%%F"" - rem Check if it's an exe for version extraction and store the first one found + rem Check if it's an exe and store the first one found rem Using findstr to check if the full path ends with .exe (case-insensitive) - echo "%%F" | findstr /I /E "\\\\.exe" >nul && if not defined EXE_FILE set "EXE_FILE=%%F" + rem Corrected findstr pattern + echo "%%F" | findstr /I /E ".exe" >nul && if not defined EXE_FILE set "EXE_FILE=%%F" ) rem DEBUG: Show EXE_FILE after loop