diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f1ae1f..db5193e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,6 +69,45 @@ jobs: libgtk-3-dev \ libayatana-appindicator3-dev + - name: Compose release body + id: notes + shell: bash + run: | + FILE="release-notes-${{ github.ref_name }}.md" + { + echo 'body<> "$GITHUB_OUTPUT" + - name: Build and upload release uses: tauri-apps/tauri-action@v0 env: @@ -76,36 +115,7 @@ jobs: with: tagName: ${{ github.ref_name }} releaseName: ${{ github.ref_name }} - releaseBody: | - ## ${{ github.ref_name }} - - ### 本次更新 - - - **模型数据同步(models.dev 2026-08-27)**:7343 个模型 / 203 个供应商 - - **新增 GLM-5.3 / GLM-5.3-Flash 全线接入**:智谱官方、OpenRouter、Cloudflare、DeepInfra、HuggingFace、火山引擎等约 20 条渠道;GLM-5.3-Flash 定价 $0.075 / $0.25(输入/输出,每百万 token) - - 新增 coding plan 渠道:`zhipuai-coding-plan/glm-5.3`、`glm-5.3-highspeed`、`glm-5.3-flash` - - 新增 Qwen3.8 系列、火山引擎豆包 Seed 2.x 全系、DeepSeek-V4 GA 版、MiniMax-M2.7/M3 等共 74 个模型条目 - - 价格更新 58 处、能力信息修正 56 处(详见 release-notes-v0.7.9.md) - - ### Downloads by platform - - - **Windows**: `.msi` installer - - **macOS**: `.dmg` + `.app`(未签名,仅 Apple Silicon / M 系列芯片) - - **Linux**: `.deb` / `.AppImage` / `.rpm` - - ### macOS 安装说明(无开发者账号签名,需一次手动绕过) - - 1. 下载 `Kimi.Switch_*.dmg`,双击挂载后把 `Kimi Switch.app` 拖入「应用程序」文件夹 - 2. 下载本 Release 附带的 `install-macos.sh`,在终端运行: - - ```bash - bash install-macos.sh - ``` - - 脚本会自动清除「下载隔离」属性并启动应用,之后可正常使用。 - 3. 手动替代方案:右键 `Kimi Switch.app` → 打开 → 弹窗中点「打开」(或 系统设置 → 隐私与安全性 → 仍要打开) - - Full changelog: see commit history. + releaseBody: ${{ steps.notes.outputs.body }} prerelease: ${{ contains(github.ref_name, '-rc') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-alpha') }} overwrite: true args: ${{ matrix.args }}