Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
Release / Attach macOS install script (push) Canceled after 0s
123 lines
4.0 KiB
YAML
123 lines
4.0 KiB
YAML
name: Release
|
||
|
||
on:
|
||
push:
|
||
tags:
|
||
- 'v*'
|
||
|
||
permissions:
|
||
contents: write
|
||
|
||
jobs:
|
||
version-check:
|
||
name: Version consistency
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- uses: actions/checkout@v4
|
||
- uses: actions/setup-node@v4
|
||
with:
|
||
node-version: 20
|
||
- name: Verify tag matches package.json / Cargo.toml / tauri.conf.json
|
||
run: |
|
||
TAG="${GITHUB_REF_NAME}"
|
||
chmod +x scripts/check-version.sh
|
||
./scripts/check-version.sh "$TAG"
|
||
|
||
build:
|
||
name: Build (${{ matrix.platform }})
|
||
needs: version-check
|
||
strategy:
|
||
fail-fast: false
|
||
matrix:
|
||
include:
|
||
- platform: ubuntu-latest
|
||
args: --bundles deb,appimage,rpm
|
||
- platform: macos-latest
|
||
args: --bundles app,dmg
|
||
- platform: windows-latest
|
||
args: --bundles msi
|
||
|
||
runs-on: ${{ matrix.platform }}
|
||
steps:
|
||
- uses: actions/checkout@v4
|
||
|
||
- uses: actions/setup-node@v4
|
||
with:
|
||
node-version: 20
|
||
cache: 'npm'
|
||
|
||
- name: Install npm dependencies
|
||
run: npm ci
|
||
|
||
- uses: dtolnay/rust-toolchain@stable
|
||
with:
|
||
cache: true
|
||
|
||
- name: Install Linux build dependencies
|
||
if: matrix.platform == 'ubuntu-latest'
|
||
run: |
|
||
sudo apt-get update
|
||
sudo apt-get install -y \
|
||
libwebkit2gtk-4.1-dev \
|
||
librsvg2-dev \
|
||
patchelf \
|
||
build-essential \
|
||
curl \
|
||
wget \
|
||
file \
|
||
libssl-dev \
|
||
libgtk-3-dev \
|
||
libayatana-appindicator3-dev
|
||
|
||
- name: Build and upload release
|
||
uses: tauri-apps/tauri-action@v0
|
||
env:
|
||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
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.
|
||
prerelease: ${{ contains(github.ref_name, '-rc') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-alpha') }}
|
||
overwrite: true
|
||
args: ${{ matrix.args }}
|
||
|
||
upload-macos-script:
|
||
name: Attach macOS install script
|
||
needs: build
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- uses: actions/checkout@v4
|
||
- name: Upload install-macos.sh to release
|
||
env:
|
||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
run: gh release upload "${{ github.ref_name }}" scripts/install-macos.sh --clobber
|