Add macOS DMG release automation and update v1.8.3 release notes - #1
Merged
Merged
Conversation
1. 打包 - macos-14(Apple Silicon)+ Python 3.13 调 scripts/build_macos.sh --dmg,依赖走 PyPI - offscreen 冒烟启动 20 s,进程提前退出即失败 2. 发布 - 版本号取 src/version.py,只往已存在的 comm-v<版本> Release 追加 CommTool_v<版本>.dmg - Release 已有同名 DMG 时整段跳过,不 clobber,保护已写入的 sha256_mac / size_mac - 上传后跑 check_mac_asset.py 门禁,并保留 14 天 workflow artifact Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TSZhopixE2DC3VJmxrGUCz
1. macOS 安装包 - GitHub Actions macos-14(Apple Silicon)+ Python 3.13 用 build_macos.sh --dmg 打包 CommTool_v1.8.3.dmg - offscreen 冒烟启动通过,已挂到 GitHub Release comm-v1.8.3(Gitee 标准流程不放 dmg) - 发布门禁 check_mac_asset.py 通过 2. 在线更新 - latest.json 写入 url_mac 指向该 GitHub 直链 - sha256_mac / size_mac 按下载回来的 DMG 计算,与 GitHub 资产 digest 一致 - Windows / Linux 摘要与下载地址未改 3. 验证 - test_update_manifest_integrity / test_updater_mac 12 个通过 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TSZhopixE2DC3VJmxrGUCz
1. 发布状态 - README v71、发行说明与排期标记 Windows / macOS / Linux x86_64 均已发 - 发行说明下载表填入 CommTool_v1.8.3.dmg,删除 macOS 待补包说明 2. 三语用户文档 - USAGE / 使用说明 / 使用說明 的 v1.8.3 发布范围改为三平台已发 - 安装章节当前版本改为三平台 v1.8.3,macOS 资产文件名改为 v1.8.3 3. 验证 - git diff --cached --check 通过 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TSZhopixE2DC3VJmxrGUCz
- DMG 上传(或已存在)后,用 docs/RELEASE_NOTES.md 全文更新 GitHub Release 正文,与 release.ps1 同源 - 仅当发行说明已列出当前版本的 DMG 文件名时才同步,避免用旧文案覆盖 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TSZhopixE2DC3VJmxrGUCz
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.
Summary
This PR adds automated macOS DMG package building and release to GitHub, completing the v1.8.3 release across all platforms (Windows, macOS, Linux). It also updates documentation and release notes to reflect macOS availability.
Key Changes
New GitHub Actions workflow (
.github/workflows/release-macos.yml):src/version.pyand validates release existsUpdated release metadata (
latest.json):sha256_macandsize_macfields with actual valuesDocumentation updates across all language variants:
Implementation Details
macos-14runner for Apple Silicon (arm64) compatibilityhttps://claude.ai/code/session_01TSZhopixE2DC3VJmxrGUCz