fix: restore platform kit version to 1.0.9
All checks were successful
Publish Python Package to Gitea / publish (push) Successful in 25s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-03 19:44:30 +08:00
parent eba90fb8b9
commit aab0207aec
5 changed files with 234 additions and 23 deletions

View File

@@ -100,13 +100,15 @@ send_prompt_via_composer(page, "第一行\n第二行")
### main 分支自动预发布
每次推送到 `main` 会触发 `.github/workflows/publish.yml`,自动构建并发布 **唯一** 的 post 版本(基于 `pyproject.toml` 中的基础版本,例如 `0.1.0.post42`)。版本号不会写回仓库,仅在 CI 构建前临时改写 `pyproject.toml``jiangchang_desktop_sdk.__version__`
每次推送到 `main` 会触发 `.github/workflows/publish.yml`,自动构建并发布 **post 预发布版本**(仅供 CI 流水线内部使用,**不是**正式版本线)
正式版本线使用 **1.0.x** semver通过 git tag 发布。
```bash
git push origin main
```
测试人员升级安装:
测试人员升级安装(始终安装当前正式 tag 对应的版本,例如 `1.0.9`
```bash
python -m pip install --upgrade \
@@ -117,11 +119,11 @@ python -m pip install --upgrade \
### 正式版本tag
打 tag 并推送后,发布 **去掉 `v` 前缀** 的正式版本号(例如 `v0.1.1` → PyPI 包 `0.1.1`
打 tag 并推送后,发布 **去掉 `v` 前缀** 的正式版本号(例如 `v1.0.9` → PyPI 包 `1.0.9`
```bash
git tag v0.1.1
git push origin v0.1.1
git tag v1.0.9
git push origin v1.0.9
```
### 安装后验证