发布 0.2.2:全部分发产物带签名,修发布脚本读 manifest 的编码
mygo.json version -> 0.2.2;CHANGELOG 加 0.2.2 小节。publish-gitea.ps1 读 update-windows-amd64.json 时补 -Encoding UTF8(PS 5.1 默认 ANSI 解码,中文 notes 乱码导致 ConvertFrom-Json 直接失败)。AGENTS.md 补该坑。产物:setup/tar.gz/portable.zip 全部签名 Valid;端到端 0.2.1->0.2.2 走 24KB delta。
This commit is contained in:
1 parent
37827eb8c7
commit
2bd2b6d1af
4 files changed
+14
-3
No files matched your search
@@ -4,6 +4,15 @@ mygo 构建会用 `## <version>` 段落作为更新窗口里的发布说明:
|
||||
`mygo.json` 的 `version` 改掉,再在下面加一段同名小节,否则 `mygo build` 会报
|
||||
“CHANGELOG.md has no notes for <version>”。
|
||||
|
||||
## 0.2.2 - 2026-11-16
|
||||
|
||||
代码签名版本:所有分发产物都带 Authenticode 签名,导入过根证书的机器不再提示「无法验证发布者」。
|
||||
|
||||
- 主程序、watchdog、安装包与卸载器统一签名(`mygo.json` 的 `windows.signCommand`)
|
||||
- 新增 `scripts/codesign/`:生成自签名证书、签名单个文件、导入信任三个脚本
|
||||
- 公钥证书 `certs/ZeroOrigin-CodeSign.cer`,新机器跑 `trust.ps1` 后生效
|
||||
- 程序行为与 0.2.1 一致
|
||||
|
||||
## 0.2.1 - 2026-11-16
|
||||
|
||||
更新链路验证版本:程序行为与 0.2.0 一致,主要用来验证「检查更新 → 下载 → 就地替换 → 重启」。
|
||||
|
||||
Reference in new issue
Block a user