Repository navigation
[6214] mac和win CD流水线自动复制stable独立pkg和exe安装包供发布 - #4719
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.
任务
6214:在 mac 和 win 的 CD 文件里增加步骤,将 stable 的独立 exe 和 pkg 安装包复制到外层供发布。任务文档见 dev-agent PR:https://github.com/LiiiLabs/dev-agent/pull/124
What
macOS arm64 CD(
cd_on_macos_arm64.yml):Create release archive步骤之后增加Copy standalone installer for release步骤;build/velopack_release_stable/存在时,直接将已完成签名公证的安装包(*-Setup.pkg)复制到build/目录并重命名为build/MoganSTEM-v${VERSION}-arm.pkg;Upload Artifact与Release步骤的发布资产列表追加build/MoganSTEM-*.pkg。Windows x64 CD(
cd_research_on_windows.yml):Create release archive步骤之后增加Copy standalone installer for release步骤(使用 pwsh);build/velopack_release_stable/存在时,直接将打包产物*Setup.exe复制到build/目录并重命名为build/MoganSTEM-v$ver-64bit-installer.exe;Upload Artifact与Release步骤的发布资产列表追加build/MoganSTEM-*.exe。Why
在当前 3.7 Release 中,除全量/增量 Velopack 发布包 zip 之外,官网下载直链与用户单文件安装直接依赖位于 Release 外层的独立安装包(
MoganSTEM-v2026.3.7-arm.pkg与MoganSTEM-v2026.3.7-64bit-installer.exe)。此前 CD 流程仅打包并上传了 zip 压缩包,外层独立安装包需要发版人员手动从 stable 产物中复制改名并上传到 GitHub Release。采用直接从
build/velopack_release_stable/复制到build/外层的方式,避免了将文件压入 zip 后再解压的重复 I/O 与 CPU 开销,脚本极简稳定(仅需单行cp/Copy-Item),实现全自动发版。验证
yaml.safe_load校验两份工作流文件均解析成功,无语法错误MoganSTEM-v<ver>-arm.pkg与MoganSTEM-v<ver>-64bit-installer.exe