From c169f211a023045a3d3dd938891bb2af4610f71c Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Sun, 4 Feb 2024 18:15:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=99=90=E5=88=B6=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E4=B8=BA=20latest=20=E5=BA=94=E7=94=A8=E5=8D=87=E7=BA=A7=20(#3?= =?UTF-8?q?816)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/app_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/service/app_utils.go b/backend/app/service/app_utils.go index 529f76ce8..1717b20a5 100644 --- a/backend/app/service/app_utils.go +++ b/backend/app/service/app_utils.go @@ -1066,7 +1066,7 @@ func handleInstalled(appInstallList []model.AppInstall, updated bool) ([]respons } var versions []string for _, detail := range details { - if detail.IgnoreUpgrade { + if detail.IgnoreUpgrade || installed.Version == "latest" { continue } if common.IsCrossVersion(installed.Version, detail.Version) && !app.CrossVersionUpdate {