🚀 Update build and release workflows

This commit is contained in:
landaiqing committed 2025-11-08 17:05:31 +08:00
1 parent 9deb2744a9
commit 05f2f7d46d
9 files changed
+13 -185

No files matched your search

+3 -1
View File
@@ -302,7 +302,9 @@ func (s *SelfUpdateService) handleUpdateSuccess(result *SelfUpdateResult) {
if err := s.configService.Set("updates.version", result.LatestVersion); err != nil {
s.logger.Error("update config version failed", "error", err)
}
if err := s.configService.Set("metadata.version", result.LatestVersion); err != nil {
s.logger.Error("update config version failed", "error", err)
}
// 执行配置迁移
if err := s.configService.MigrateConfig(); err != nil {
s.logger.Error("migrate config failed", "error", err)