发布 v0.5.0:修复 OTA 与 SD 卡 WebUI 升级#35
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
根因说明
之前设备刷完仍显示 0.4.9 的直接原因是:旧 WebUI 代理模式请求 OTA Server 的 /www,但 OTA Server 只提供 /www.bin,导致 /sdcard/recovery 里只有 TianShanOS.bin 和 manifest,没有 www.bin。启动 recovery 因完整包校验拒绝刷 app,所以 ota_0/ota_1 都仍是 0.4.9。
验证
Release / Actions 链路
当前 workflow 监听 release.published 和 v* tag push。修复后会将 v0.5.0 tag 更新到最新提交,通过 tag push 重新触发 Actions,并将 build/*.bin、bootloader.bin、partition-table.bin 和 flasher_args.json 上传到 v0.5.0 Release。