[0520] macOS arm64 Velopack 打包 CD 接入 - #4451
Open
MoonL79 wants to merge 16 commits into
Open
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
mac CD 向同一 release 上传 osx-arm64 归档后,原 *beta*.zip 等模式会跨平台 误抓基线(full nupkg 平台专属)。通道 zip 与旧合并 zip 回退均限定 win-x64。 Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
公证判 Invalid 的两个原因:xmake 安装 stem 时把 shared 依赖额外装进 Contents/Resources/lib(vpk 的 --deep 签不到),以及 Resources 里的裸 Mach-O(goldfish)对 codesign --deep 不可见。前者在 after_install 清理 (与重复二进制清理同模式),后者在 stage 用正式身份预签(.dSYM 按旧 DMG 流程先例不签)。 Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
Author
CD 三轮 tag 实测结果(全部通过 ✅)测试序列
mac 侧签名链路实测通过:Developer ID 深签 → 公证 Accepted(beta/stable 各一次)→ staple → spctl 校验。 测试中修复的三处(详见 devel/0520.md):
🤖 Generated with Claude Code |
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.
概述
macOS arm64 接入与 Windows 相同的 Velopack 发布/更新链路(两个任务,0520 基于 0519):
0519:运行时 + 本地打包
USE_PLUGIN_VELOPACK扩到 macOS arm64,启动钩子/更新器后端/feed 平台段(osx-arm64)放开平台 guard;dylib 以 shared target 机制同时落位裸二进制(dev/CI 测试)与.app/Contents/Frameworks(打包)stage_velopack.lua/pack_velopack.lua增加 macOS 分支:ditto 拷贝保 framework 符号链接、自产 Info.plist、vpk--runtime osx-arm64、签名参数VPK_SIGN_*透传、产物改名;brew dotnet 自动注入DOTNET_ROOT0520:CD 接入(对齐 Windows CD)
cd_on_macos_arm64.yml:移除旧 DMG 流程(goldfish/package.scm),改为 vpk 打包——基线拉取、beta/stable 双通道、归档 zipmogan-release-<ver>-osx-arm64-<channel>.zip、CI 内完成 Developer ID 签名 + 公证(复用 APPLE_* secrets)win-x64平台段(修复跨平台误抓缺陷)测试计划(本 PR 内打测试 tag)
v2026.4.0(无 rc)→ 双渠道包v2026.4.1-rc.1(> 上一步)→ 仅 beta,基线取步骤 1 的 betav2026.4.1(> 前两步)→ 双渠道;stable 基线取步骤 1 的 stable(跳过 rc release),beta 基线取步骤 2 的 beta🤖 Generated with Claude Code