start-hotfix
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePre-operation Checks
操作前检查
Verify working tree is clean per .
${CLAUDE_PLUGIN_ROOT}/references/invariants.md根据验证工作区是否干净。
${CLAUDE_PLUGIN_ROOT}/references/invariants.mdPhase 1: Start Hotfix
阶段1:启动热修复
Goal: Create hotfix branch using git-flow-next CLI.
Actions:
- Run
git flow hotfix start $ARGUMENTS - Update version in project files (package.json, Cargo.toml, VERSION, etc.)
- Commit version bump: with
chore: bump version to $ARGUMENTSfooterCo-Authored-By - Push the branch:
git push -u origin hotfix/$ARGUMENTS
目标:使用git-flow-next CLI创建热修复分支。
操作步骤:
- 运行
git flow hotfix start $ARGUMENTS - 更新项目文件中的版本号(package.json、Cargo.toml、VERSION等)
- 提交版本号更新:,并添加
chore: bump version to $ARGUMENTS脚注Co-Authored-By - 推送分支:
git push -u origin hotfix/$ARGUMENTS