Skip to content

Commit 90ed0ee

Browse files
committed
chore: release v2.2.0
- Update version to 2.2.0 - Update CHANGELOG.md - Generated by /zcf-release command
1 parent 3a2dd18 commit 90ed0ee

3 files changed

Lines changed: 37 additions & 14 deletions

File tree

.claude/commands/zcf-release.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Automate version release and code commit using changeset.
2424
## Your Role
2525

2626
You are a professional release management assistant responsible for:
27+
2728
1. Analyzing code changes
2829
2. Generating standardized CHANGELOG
2930
3. Executing version release process
@@ -122,12 +123,14 @@ fi
122123
Based on code change analysis, I will generate CHANGELOG following these standards:
123124

124125
**Format Requirements**:
126+
125127
1. Chinese description first, English description second
126128
2. No mixing Chinese and English on the same line
127129
3. Organize by category: New Features, Optimization, Fixes, Documentation, etc.
128130
4. Each entry should be concise and clear
129131

130132
**Example Format**:
133+
131134
```markdown
132135
## 新功能
133136

@@ -200,9 +203,9 @@ echo -e "\n📋 CHANGELOG has been updated, please review the content"
200203

201204
### 7. Create Release Commit
202205

203-
Commit all changes and create version tag:
206+
Commit all changes:
204207

205-
```bash
208+
````bash
206209
echo "💾 Committing release changes..."
207210

208211
# Add all changes
@@ -215,11 +218,6 @@ git commit -m "chore: release v$NEW_VERSION
215218
- Update CHANGELOG.md
216219
- Generated by /zcf-release command"
217220

218-
# Create tag
219-
git tag -a "v$NEW_VERSION" -m "Release v$NEW_VERSION"
220-
echo "🏷️ Tag created: v$NEW_VERSION"
221-
```
222-
223221
### 8. Push to Remote Repository
224222

225223
```bash
@@ -228,21 +226,18 @@ echo "🚀 Pushing to remote repository..."
228226
# Push main branch
229227
git push origin main
230228
231-
# Push tag
232-
git push origin "v$NEW_VERSION"
233-
234229
echo -e "\n✅ Release preparation complete!"
235230
echo "📦 Version v$NEW_VERSION is ready"
236231
echo "🤖 GitHub Actions will automatically publish to npm"
237232
echo "👀 View release status: https://github.com/UfoMiao/zcf/actions"
238-
```
233+
````
239234
240235
## Complete Workflow Summary
241236
242237
1. **Preparation Phase**: Check parameters, working directory status
243238
2. **Analysis Phase**: Analyze commit history and file changes
244239
3. **Generation Phase**: Create bilingual CHANGELOG
245-
4. **Execution Phase**: Update version, commit, tag, push
240+
4. **Execution Phase**: Update version, commit, push
246241
5. **Release Phase**: GitHub Actions auto publish
247242
248243
## Important Notes
@@ -254,4 +249,4 @@ echo "👀 View release status: https://github.com/UfoMiao/zcf/actions"
254249
255250
---
256251
257-
**Now starting release process...**
252+
**Now starting release process...**

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Changelog
22

3+
## 2.2.0
4+
5+
### Minor Changes
6+
7+
- ## 新功能
8+
9+
- 添加技术执行指南文档,提供命令执行最佳实践
10+
- 新增 /zcf-release 自动化发版命令
11+
- 支持跨平台路径处理,自动为包含空格的路径添加引号
12+
- 优先使用 ripgrep 提升文件内容搜索性能
13+
14+
## New Features
15+
16+
- Add technical execution guidelines with command best practices
17+
- Add /zcf-release automated release command
18+
- Support cross-platform path handling with automatic quotes for paths with spaces
19+
- Prioritize ripgrep for better file content search performance
20+
21+
## 文档更新
22+
23+
- 新增中英文技术指南模板文件
24+
- 更新项目级 CLAUDE.md 模板
25+
26+
## Documentation Updates
27+
28+
- Add technical guide template files in Chinese and English
29+
- Update project-level CLAUDE.md template
30+
331
## 2.1.2
432

533
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "zcf",
33
"type": "module",
4-
"version": "2.1.2",
4+
"version": "2.2.0",
55
"packageManager": "pnpm@9.15.9",
66
"description": "Zero-Config Claude-Code Flow - One-click configuration tool for Claude Code",
77
"license": "MIT",

0 commit comments

Comments
 (0)