start-release
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 Release
阶段1:启动发布
Goal: Create release branch using git-flow-next CLI.
Actions:
- Run
git flow release 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 release/$ARGUMENTS
Note: CHANGELOG.md is updated during finish-release, not here.
目标:使用git-flow-next CLI创建发布分支。
操作步骤:
- 运行命令
git flow release start $ARGUMENTS - 更新项目文件中的版本号(包括package.json、Cargo.toml、VERSION等)
- 提交版本号更新:,并添加
chore: bump version to $ARGUMENTS脚注Co-Authored-By - 推送分支:
git push -u origin release/$ARGUMENTS
注意:CHANGELOG.md会在完成发布流程(finish-release)时更新,而非在此阶段。