Skip to content

Commit 1045b1f

Browse files
committed
chore(release): update versions-manifest.json for v0.3.6 and update skills
- Add v0.3.6 and v0.3.5 to versions-manifest.json - Update busic-version-management SKILL.md to include versions-manifest.json documentation - Update busic-release SKILL.md to include versions-manifest.json update step
1 parent fffe662 commit 1045b1f

3 files changed

Lines changed: 85 additions & 3 deletions

File tree

.agents/skills/busic-release/SKILL.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,14 @@ git log main..develop --oneline
6161

6262
1. 修改 `pubspec.yaml` 中的 `version` 字段
6363
2. 更新 `CHANGELOG.md` 添加版本发布日期
64-
3. 提交版本更新:
64+
3. **更新 `versions-manifest.json`**
65+
- 添加新版本条目到 `versions` 数组顶部
66+
- 更新 `latest` 字段为新版本号
67+
- 填写 `build``date``changelog``assets`
68+
4. 提交版本更新:
6569

6670
```bash
67-
git add pubspec.yaml CHANGELOG.md
71+
git add pubspec.yaml CHANGELOG.md versions-manifest.json
6872
git commit -m "chore(release): bump version to x.y.z+build"
6973
```
7074

.agents/skills/busic-version-management/SKILL.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,42 @@ version: 0.3.4+1 # 必须保持最新
5353
v0.3.4 # 不含build号
5454
```
5555

56+
### versions-manifest.json
57+
58+
```json
59+
{
60+
"latest": "0.3.6",
61+
"min_supported": "0.2.0",
62+
"versions": [
63+
{
64+
"version": "0.3.6",
65+
"build": 12,
66+
"date": "2026-03-19",
67+
"changelog": "## Features\n- 新功能...",
68+
"force_update_below": "0.2.0",
69+
"assets": {
70+
"android": { "github": "https://github.com/..." },
71+
"windows": { "github": "https://github.com/..." },
72+
"linux": { "github": "https://github.com/..." },
73+
"macos": { "github": "https://github.com/..." }
74+
}
75+
}
76+
]
77+
}
78+
```
79+
80+
**重要**:每次发布新版本时,必须更新此文件!
81+
82+
| 字段 | 说明 |
83+
|------|------|
84+
| `latest` | 最新版本号(不含build号) |
85+
| `min_supported` | 最低支持的版本,低于此版本强制更新 |
86+
| `versions[].version` | 版本号(不含build号) |
87+
| `versions[].build` | 构建号 |
88+
| `versions[].date` | 发布日期 YYYY-MM-DD |
89+
| `versions[].changelog` | 更新日志(支持 Markdown) |
90+
| `versions[].assets` | 各平台下载链接 |
91+
5692
## 版本号更新规则
5793

5894
### Major(主版本)

versions-manifest.json

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,49 @@
11
{
2-
"latest": "0.3.4",
2+
"latest": "0.3.6",
33
"min_supported": "0.2.0",
44
"versions": [
5+
{
6+
"version": "0.3.6",
7+
"build": 12,
8+
"date": "2026-03-19",
9+
"changelog": "## Features\n- feat: disable macos window btn\n- feat: 添加版本发布skills,优化视频详情页\n\n## Bug Fixes\n- fix: cannot start because of icon missing\n- fix(linux): copy icon to AppDir root for appimagetool\n- fix(linux): copy desktop file to AppDir root for appimagetool",
10+
"force_update_below": "0.2.0",
11+
"assets": {
12+
"android": {
13+
"github": "https://github.com/GlowLED/BuSic/releases/download/v0.3.6/busic-android.apk"
14+
},
15+
"windows": {
16+
"github": "https://github.com/GlowLED/BuSic/releases/download/v0.3.6/busic-windows-x64.zip"
17+
},
18+
"linux": {
19+
"github": "https://github.com/GlowLED/BuSic/releases/download/v0.3.6/busic-linux-x64.deb"
20+
},
21+
"macos": {
22+
"github": "https://github.com/GlowLED/BuSic/releases/download/v0.3.6/busic-macos.zip"
23+
}
24+
}
25+
},
26+
{
27+
"version": "0.3.5",
28+
"build": 11,
29+
"date": "2026-03-19",
30+
"changelog": "## Features\n- feat(release): 修改Linux打包方式为deb/rpm/AppImage\n- feat: 添加版本发布skills,优化视频详情页\n- feat(search): 优化简介框展开收起逻辑,修复Radio废弃API\n- feat: 视频详情页显示视频简介\n- feat: 添加多语言支持的本地化文本,优化用户界面提示信息\n- feat: 优化回复指示器样式,防止误触\n- feat: 使用 SingleChildScrollView 优化分页按钮布局\n\n## Bug Fixes\n- fix(share): 修复备份导入弹窗RadioGroup编译错误\n- fix(share): 修复备份导入弹窗Radio组件编译错误\n- fix(search): 修复手机上分页跳转功能\n- fix(search): 修复手机上分页跳转输入框超出屏幕的问题\n- fix: 修复评论输入框被键盘遮挡问题,迁移RadioGroup到新API\n\n## Documentation\n- docs: add .opencode to .gitignore",
31+
"force_update_below": "0.2.0",
32+
"assets": {
33+
"android": {
34+
"github": "https://github.com/GlowLED/BuSic/releases/download/v0.3.5/busic-android.apk"
35+
},
36+
"windows": {
37+
"github": "https://github.com/GlowLED/BuSic/releases/download/v0.3.5/busic-windows-x64.zip"
38+
},
39+
"linux": {
40+
"github": "https://github.com/GlowLED/BuSic/releases/download/v0.3.5/busic-linux-x64.tar.gz"
41+
},
42+
"macos": {
43+
"github": "https://github.com/GlowLED/BuSic/releases/download/v0.3.5/busic-macos.zip"
44+
}
45+
}
46+
},
547
{
648
"version": "0.3.4",
749
"build": 10,

0 commit comments

Comments
 (0)