Signed-off-by: -LAN- <laipz8200@outlook.com>tags/0.15.0
| data["kind"] = "app" | data["kind"] = "app" | ||||
| imported_version = data.get("version", "0.1.0") | imported_version = data.get("version", "0.1.0") | ||||
| # check if imported_version is a float-like string | |||||
| if not isinstance(imported_version, str): | |||||
| raise ValueError(f"Invalid version type, expected str, got {type(imported_version)}") | |||||
| status = _check_version_compatibility(imported_version) | status = _check_version_compatibility(imported_version) | ||||
| # Extract app data | # Extract app data |