feat(build): 添加 release.sh 构建脚本 + 修复 CI#1
Merged
Conversation
添加本地构建发布脚本,自动编译 CLI 二进制、Tauri .app 和 DMG, 打包到 release/ 目录并生成 README.md 使用说明。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 用 cargo tauri build 替代 pnpm tauri build,解决 @tauri-apps/cli 未安装问题 - 修正二进制文件名 sandbox-cli → sandbox(与 Cargo.toml [[bin]] name 一致) - 修复 release.yml 前端依赖安装缺少 working-directory Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
🔒 门禁检查结果
Rust 测试覆盖率
✅ 所有检查通过,可以合入
|
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
release.sh本地构建发布脚本,自动编译 CLI、Tauri .app、DMG 并打包到release/,附带 README.md 使用说明pnpm tauri build→cargo tauri build(解决@tauri-apps/cli未安装问题)sandbox-cli→sandbox(与Cargo.toml[[bin]] name一致)release.yml前端依赖安装缺少working-directoryrelease/到.gitignoreTest plan
./release.sh构建成功sandbox --help正常sandbox serveHTTP/health返回{"status":"ok"}sandbox windows正常列出窗口sandbox processes正常返回🤖 Generated with Claude Code