Skip to content

Commit e77bb3c

Browse files
tiderclaude
andcommitted
Update version to 0.2.0 and add release process to CLAUDE.md
Co-Authored-By: MiniMax M2.5 <noreply@anthropic.com>
1 parent 175c370 commit e77bb3c

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

CLAUDE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,25 @@ cargo test
4444
# 构建
4545
cargo build --release
4646
```
47+
48+
## 发布流程
49+
50+
**每次发布新版本前,必须更新 Cargo.toml 中的版本号:**
51+
52+
```toml
53+
[package]
54+
version = "0.2.0" # 更新为新版本号
55+
```
56+
57+
**发布步骤:**
58+
59+
1. 更新 Cargo.toml 版本号
60+
2. 提交代码并推送
61+
3. 创建 tag 并推送:
62+
63+
```bash
64+
git tag v0.2.0
65+
git push origin v0.2.0
66+
```
67+
68+
GitHub Actions 会自动构建并发布。

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "deploy-bot"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2021"
55

66
[dependencies]

0 commit comments

Comments
 (0)