release
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePrepare
准备
Confirm the repo is on and clean. Keep changes aligned with OpenCode primitives like , , skills, and plugins when relevant.
main.opencodeopencode.json确认仓库处于分支且状态干净。相关修改请与OpenCode的基础规范保持一致,例如、、skills和plugins等。
main.opencodeopencode.jsonBump
版本升级
Update versions in , , (publishes as ), , and . Use one of these commands.
packages/app/package.jsonpackages/desktop/package.jsonpackages/orchestrator/package.jsonopenwork-orchestratorpackages/desktop/src-tauri/tauri.conf.jsonpackages/desktop/src-tauri/Cargo.tomlbash
pnpm bump:patch
pnpm bump:minor
pnpm bump:major
pnpm bump:set -- 0.1.21更新以下文件中的版本号:、、(发布为)、以及。可使用以下命令之一:
packages/app/package.jsonpackages/desktop/package.jsonpackages/orchestrator/package.jsonopenwork-orchestratorpackages/desktop/src-tauri/tauri.conf.jsonpackages/desktop/src-tauri/Cargo.tomlbash
pnpm bump:patch
pnpm bump:minor
pnpm bump:major
pnpm bump:set -- 0.1.21Merge
合并
Merge the version bump into . Make sure no secrets or credentials are committed.
main将版本升级的修改合并到分支。确保没有提交任何密钥或凭证信息。
mainTag
打标签
Create and push the tag to trigger the Release App workflow.
bash
git tag vX.Y.Z
git push origin vX.Y.Z创建并推送标签以触发Release App工作流。
bash
git tag vX.Y.Z
git push origin vX.Y.ZRerun
重新运行
If a tag needs a rerun, dispatch the workflow.
bash
gh workflow run "Release App" --repo different-ai/openwork -f tag=vX.Y.Z如果需要重新运行标签对应的流程,可触发该工作流。
bash
gh workflow run "Release App" --repo different-ai/openwork -f tag=vX.Y.ZVerify
验证
Confirm the run and the published release.
bash
gh run list --repo different-ai/openwork --workflow "Release App" --limit 5
gh release view vX.Y.Z --repo different-ai/openwork确认流程运行状态和已发布的版本。
bash
gh run list --repo different-ai/openwork --workflow "Release App" --limit 5
gh release view vX.Y.Z --repo different-ai/openwork