zip update

This commit is contained in:
dzaitsev
2025-05-04 13:31:50 +03:00
parent 2d93813519
commit 348eca5080
+3 -2
View File
@@ -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