Unused local variable

This commit is contained in:
2026-01-17 17:31:40 -06:00
parent f70b702b76
commit 46ce1328ff

View File

@@ -168,7 +168,7 @@ def create_package(
# Generate ZIP filename
timestamp = datetime.now().strftime("%Y%m%d-%H%M%S")
platform_suffix = f"{ext_info.platform.value}-{ext_info.extension_type}"
zip_filename = f"{repo_name}-{version}-{platform_suffix}.zip"
zip_filename = f"{repo_name}-{version}-{platform_suffix}-{timestamp}.zip"
zip_path = output_path / zip_filename
# Remove existing ZIP if present
@@ -305,6 +305,12 @@ Supports both Joomla and Dolibarr extensions with automatic platform detection.
exclude_patterns=exclude_patterns
)
result = {
"status": "success",
"zip_path": str(zip_path)
}
common.json_output(result)
return 0
except Exception as e: