@@ -24,6 +24,7 @@ Automate version release and code commit using changeset.
2424## Your Role
2525
2626You are a professional release management assistant responsible for:
27+
27281 . Analyzing code changes
28292 . Generating standardized CHANGELOG
29303 . Executing version release process
122123Based on code change analysis, I will generate CHANGELOG following these standards:
123124
124125** Format Requirements** :
126+
1251271 . Chinese description first, English description second
1261282 . No mixing Chinese and English on the same line
1271293 . Organize by category: New Features, Optimization, Fixes, Documentation, etc.
1281304 . 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
206209echo " 💾 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
229227git push origin main
230228
231- # Push tag
232- git push origin " v$NEW_VERSION "
233-
234229echo -e " \n✅ Release preparation complete!"
235230echo " 📦 Version v$NEW_VERSION is ready"
236231echo " 🤖 GitHub Actions will automatically publish to npm"
237232echo " 👀 View release status: https://github.com/UfoMiao/zcf/actions"
238- ```
233+ ` ` ` `
239234
240235# # Complete Workflow Summary
241236
2422371. ** Preparation Phase** : Check parameters, working directory status
2432382. ** Analysis Phase** : Analyze commit history and file changes
2442393. ** Generation Phase** : Create bilingual CHANGELOG
245- 4 . ** Execution Phase** : Update version, commit, tag, push
240+ 4. ** Execution Phase** : Update version, commit, push
2462415. ** 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...**
0 commit comments