Skip to content

Commit 68e4d5d

Browse files
committed
chore(release): 版本升到 0.2.2
单一真源与全部派生位置同步:pyproject.toml(真源)/ src/version.py FALLBACK / web/package.json / uv.lock / README(tag 示例 + healthz 示例 + 当前版本)/ publish.yml 手动触发示例文案。 内容为 v0.2.1 之后的修复与新增(Zen 渠道、按凭证加载模型、TRAE tool_call 分片、macOS 部署模板去本地路径)。
1 parent 1244e12 commit 68e4d5d

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77
inputs:
88
tag:
9-
description: '要打的版本号(如 v0.2.1,留空则跳过)'
9+
description: '要打的版本号(如 v0.2.2,留空则跳过)'
1010
required: false
1111
default: ''
1212

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ docker compose exec coding2api python scripts/create_user.py admin --role admin
104104

105105
```bash
106106
docker compose pull
107-
# 或指定版本:docker pull ghcr.io/robbsluo/coding2api:v0.2.1
107+
# 或指定版本:docker pull ghcr.io/robbsluo/coding2api:v0.2.2
108108
```
109109

110110
推送新版本:打 tag `v*` 推到 main 即触发 publish workflow(见 `.github/workflows/publish.yml`),同时打 `<tag>` 和 `:latest` 到 GHCR。也可在 Actions 页面手动触发(填版本号)。
@@ -185,7 +185,7 @@ curl http://127.0.0.1:8000/v1/user/balance -H "Authorization: Bearer sk-你的ke
185185
{
186186
"status": "ok",
187187
"service": "coding2api",
188-
"version": "0.2.1",
188+
"version": "0.2.2",
189189
"credentials": {"total": 5, "ready": 4, "cooling": 1, "paused": 0, "disabled": 0}
190190
}
191191
```
@@ -401,7 +401,7 @@ pnpm build
401401

402402
## 状态
403403

404-
M0–M3 及后续迭代全部完成,`main` 分支可运行,当前版本 v0.2.1。
404+
M0–M3 及后续迭代全部完成,`main` 分支可运行,当前版本 v0.2.2。
405405

406406
后续批次(B1–B4)已按批准计划落地:
407407

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "coding2api"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
description = "把 CodeBuddy 与 TRAE SOLO 上游通道统一封装为 OpenAI 兼容 API"
55
readme = "README.md"
66
requires-python = ">=3.12"

‎src/version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from pathlib import Path
1515

1616
# 回落值:仅在读不到 pyproject.toml 时使用。升版时与 pyproject 一起改。
17-
FALLBACK_VERSION = "0.2.1"
17+
FALLBACK_VERSION = "0.2.2"
1818

1919
# 相对本文件定位项目根:src/version.py → 上一级即项目根
2020
_PYPROJECT = Path(__file__).resolve().parent.parent / "pyproject.toml"

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎web/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "coding2api-web",
33
"private": true,
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"packageManager": "pnpm@10.18.0",
66
"type": "module",
77
"scripts": {

0 commit comments

Comments
 (0)