Skip to content

Commit 11711e9

Browse files
LegnaOSclaude
andcommitted
v1.8.3
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 225331d commit 11711e9

5 files changed

Lines changed: 36 additions & 11 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ npm-debug.log*
3232
.npm-packages/
3333
.compile-tmp/
3434

35+
# Rust build cache
36+
native/target/
37+
3538
# Augment RAG index (generated)
3639
.augment-rag/
3740

.legna/memory/MEMORY.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# LegnaCode 项目记忆
22

3+
## 发版流程(CI 自动化)
4+
5+
用户说"打包"或"发版"时,执行以下步骤:
6+
7+
```bash
8+
bun run scripts/bump.ts <版本号>
9+
git add -A && git commit -m "v<版本号>"
10+
git tag v<版本号>
11+
git push origin main --tags
12+
```
13+
14+
GitHub Actions 自动完成:
15+
- 4 个平台 runner 并行编译 Rust native addon(darwin-arm64/x64, linux-x64/arm64)
16+
- 7 个 Bun 交叉编译(darwin/linux/win32 × arm64/x64 + baseline)
17+
- 全部打包发布到 npm
18+
19+
不再需要手动跑 `compile-all.ts``npm publish` 或换机器编译。
20+
21+
同时记得更新:
22+
- `README.md` / `README.zh-CN.md` — 版本徽章 + 更新日志表
23+
- `CHANGELOG.md` / `CHANGELOG.zh-CN.md` — 新版本条目
24+
325
## 发版铁律
426

527
每次发版必须同步更新以下所有位置的版本号,缺一不可:

bunfig.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Feature flags control dead code elimination via `import { feature } from 'bun:bundle'`
55

66
[bundle.define]
7-
"MACRO.VERSION" = '"1.8.2"'
7+
"MACRO.VERSION" = '"1.8.3"'
88
"MACRO.BUILD_TIME" = '"2026-03-31T00:00:00.000Z"'
99
"MACRO.PACKAGE_URL" = '"@legna-lnc/legnacode"'
1010
"MACRO.NATIVE_PACKAGE_URL" = '""'

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@legna-lnc/legnacode",
3-
"version": "1.8.2",
3+
"version": "1.8.3",
44
"description": "LegnaCode — legna.lnc's official CLI for coding assistance",
55
"type": "module",
66
"bin": {
@@ -142,13 +142,13 @@
142142
"bun": ">=1.2.0"
143143
},
144144
"optionalDependencies": {
145-
"@legna-lnc/legnacode-darwin-arm64": "1.8.2",
146-
"@legna-lnc/legnacode-darwin-x64": "1.8.2",
147-
"@legna-lnc/legnacode-darwin-x64-baseline": "1.8.2",
148-
"@legna-lnc/legnacode-linux-x64": "1.8.2",
149-
"@legna-lnc/legnacode-linux-x64-baseline": "1.8.2",
150-
"@legna-lnc/legnacode-linux-arm64": "1.8.2",
151-
"@legna-lnc/legnacode-win32-x64": "1.8.2",
152-
"@legna-lnc/legnacode-win32-ia32": "1.8.2"
145+
"@legna-lnc/legnacode-darwin-arm64": "1.8.3",
146+
"@legna-lnc/legnacode-darwin-x64": "1.8.3",
147+
"@legna-lnc/legnacode-darwin-x64-baseline": "1.8.3",
148+
"@legna-lnc/legnacode-linux-x64": "1.8.3",
149+
"@legna-lnc/legnacode-linux-x64-baseline": "1.8.3",
150+
"@legna-lnc/legnacode-linux-arm64": "1.8.3",
151+
"@legna-lnc/legnacode-win32-x64": "1.8.3",
152+
"@legna-lnc/legnacode-win32-ia32": "1.8.3"
153153
}
154154
}

webui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "legnacode-admin-webui",
33
"private": true,
4-
"version": "1.8.2",
4+
"version": "1.8.3",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

0 commit comments

Comments
 (0)