feat: 限制版本为 latest 应用升级 (#3816)

pull/3829/head
zhengkunwang 10 months ago committed by GitHub
parent eef445c1eb
commit c169f211a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 {

Loading…
Cancel
Save